Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
How to direct one host on LAN to ALWAYS use one of two WAN links?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to direct one host on LAN to ALWAYS use one of two WAN links? (Read 1762 times)
RGN01
Newbie
Posts: 18
Karma: 0
How to direct one host on LAN to ALWAYS use one of two WAN links?
«
on:
August 06, 2020, 11:31:35 pm »
I'm a newbie so please be gentle!
I have managed to set up OPNSense 20.7 amd64 and am very impressed thus far but have now hit a wall!
I have two WAN links, a fast primary and a slower secondary. I have configured failover and it is working.
I now want to direct a single host on the LAN to always use the secondary WAN. The host is a smart TV and there is a viewing app that must run through that WAN as it is linked to the ISP and the DSL account / circuit.
I'm probably missing the key terms but have searched the online material and the web generally but have not found the key to achieving this. Can anyone help, please?
Thank you.
Logged
hitechhillbilly
Newbie
Posts: 19
Karma: 0
Re: How to direct one host on LAN to ALWAYS use one of two WAN links?
«
Reply #1 on:
August 07, 2020, 12:19:59 am »
Hello RGN01.
Its called PBR. Pabst Blue..... wait thats not it.. Policy Based Routing..
When you create your rule make sure the source address is the IP of your device with a destination of ANY and then towards the bottom of the rule you will see a spot to change the gateway. I have attached a screenshot to show it.
If this is a default install of OPNsense this should be all you need to do.
Logged
RGN01
Newbie
Posts: 18
Karma: 0
Re: How to direct one host on LAN to ALWAYS use one of two WAN links?
«
Reply #2 on:
August 07, 2020, 06:10:50 am »
Thank you very much, @hitechhillbilly, that is very helpful.
As far as I know it is a default install - I've made some changes for the failover but nothing else.
Would the rule you mention be on the LAN side? My guess is that it will but I'm still trying to get my head around the 'floating' option.
Logged
hitechhillbilly
Newbie
Posts: 19
Karma: 0
Re: How to direct one host on LAN to ALWAYS use one of two WAN links?
«
Reply #3 on:
August 07, 2020, 07:45:10 am »
Yes, it will be on the LAN side.
Logged
RGN01
Newbie
Posts: 18
Karma: 0
Re: How to direct one host on LAN to ALWAYS use one of two WAN links?
«
Reply #4 on:
August 07, 2020, 08:14:36 am »
Thank you, Sir. I shall try that this evening!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
How to direct one host on LAN to ALWAYS use one of two WAN links?