Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Want to drop traffic if the gateway (VPN) is down
« previous
next »
Print
Pages: [
1
]
Author
Topic: Want to drop traffic if the gateway (VPN) is down (Read 1517 times)
WonderFrank
Newbie
Posts: 11
Karma: 0
Want to drop traffic if the gateway (VPN) is down
«
on:
April 20, 2020, 11:38:41 pm »
Hi All
I have an OpenVPN client set up on my OPNsense box which i route traffic from one host through, the rest of the taffic from other hosts takes the normal way out. The issue i have is that if the VPN goes down for whatever reason the OPNsense box will route the traffic through the usual gateway until the VPN is restored. I do not want this.
Current LAN rules
The current rule are above. I was of the belief that the would be matched on a first come first serve, one the VPN is down it would try the next rule which would block it. What i guess happens is that the OPNsense firewall tries the VPN, sees its down and then sends it to the default gateway rather than getting to the next rule.
Does any one have any ideas on how i can get the result im looking for?
Logged
WonderFrank
Newbie
Posts: 11
Karma: 0
Re: Want to drop traffic if the gateway (VPN) is down
«
Reply #1 on:
April 20, 2020, 11:42:47 pm »
I've answered my own question!
YOu need to select the below
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Want to drop traffic if the gateway (VPN) is down