Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
PBR in regards to specific traffic
« previous
next »
Print
Pages: [
1
]
Author
Topic: PBR in regards to specific traffic (Read 1239 times)
Craash
Newbie
Posts: 24
Karma: 0
PBR in regards to specific traffic
«
on:
April 23, 2021, 05:46:26 am »
I have 3 interfaces in my setup.
WAN (Gb/Gb Fiber)
OPT1 (Spectrum Cable)
VPN (out over WAN)
Currently I have these alias setup:
Spectrum Clients
VPN Clients
By adding a LAN rule, I can route machines who are a member of those aliases over the associated Connection/Gateway. So that works fine.
However, I want to be able to route traffic based on destination and regardless of the LAN client. I have these aliases setup
SpectrumDestinations
VPNDestinatins
I want to take a computer that normally uses the WAN and have it route over OPT1 if the destination is a member of SpectrumDestinations (like their streaming TV service).
Same thing for the VPN. I want machines that normally route over the WAN to send specific traffic in VPN Destinations over the VPN (like banking info or UseNet info)
To summarize,
Routing an entire computer over any of the interfaces works.
Routing a specific destination, regardless of the LAN device, over a specific interface does NOT work.
My rule to route SpectrumDestinations is as follows:
Action Pass
Interface LAN
Direction IN
TCP/IP Version IP4 (IPV6 is turned off)
Protocol: ANY
Source RFC1918_Networks
Destination SpectrumDestinations Alias
Gateway OPT1
This rule is at the top of the rule list.
Please help?
Logged
Craash
Newbie
Posts: 24
Karma: 0
Re: PBR in regards to specific traffic
«
Reply #1 on:
April 27, 2021, 12:37:49 pm »
No responses? I know people here are smarter than I . . .
«
Last Edit: April 29, 2021, 07:35:50 pm by Craash
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
PBR in regards to specific traffic