Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Gateway Switching
« previous
next »
Print
Pages: [
1
]
Author
Topic: Gateway Switching (Read 3747 times)
soutrikand
Newbie
Posts: 3
Karma: 0
Gateway Switching
«
on:
July 10, 2018, 03:31:07 pm »
in my situation,
i have two gateways that are for Internet ( 2 isp gateways)
and 1 gateway to reach lan of VPN remote network
and 1 local gateway that has a static route to another network.
The problem i am facing is, when the internet is down, the default gateway is switched to one of the available gateways (usually selecting the last local gateway i have added).
Since the squid proxy sends outgoing traffic through default gateway and not gateway groups, the web surfing stops.
connections to all other ports that are not redirected to proxy are working great.
it would be good if there was a way to define gateways as WAN and Local .
and also if squid could direct all outgoing traffic through load balancing gateways.
any help is appreciated.
Thanks and regards.
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Gateway Switching
«
Reply #1 on:
July 10, 2018, 03:40:23 pm »
Yes, this is a known limitation right now. At the moment there's no chance for default gateway switching and more that 2 gateways, sorry.
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
soutrikand
Newbie
Posts: 3
Karma: 0
Re: Gateway Switching
«
Reply #2 on:
July 11, 2018, 07:30:10 am »
is there a way i can write some script to do the switching ?
or better to ask, can i write a script that will not be removed by opnsense on reboot?
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Gateway Switching
«
Reply #3 on:
July 11, 2018, 11:37:33 am »
Can you open the settings of your third gateway and set "Mark gateway as down"? Just for testing ...
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Gateway Switching