Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Static route drops
« previous
next »
Print
Pages: [
1
]
Author
Topic: Static route drops (Read 1435 times)
Deku
Newbie
Posts: 31
Karma: 4
Static route drops
«
on:
April 09, 2021, 06:31:48 pm »
I'm using an OpenConnect VPN that occasionally loses connectivity, which it is able to re-establish without issue. However, I have a static route defined using that gateway for a system outside of the subnet. When the VPN drops, the static route does not function when it comes back up. I have to go to the Routes Configuration and hit Apply again - then all is well. Some settings I've tried to use to resolve the problem "Interface can not be removed", "Disable Gateway Monitoring".. anything that might allow the route to stay in place.
Any suggestions on how to force this static route to stick around when the VPN / gateway / interface drops? I'm having to reapply it multiple times a day.
«
Last Edit: April 09, 2021, 09:35:43 pm by Deku
»
Logged
Deku
Newbie
Posts: 31
Karma: 4
Re: Static route drops
«
Reply #1 on:
April 15, 2021, 07:07:37 pm »
For now, I just created a cron job that runs every minute to add the static route. It's ignored if it already exists.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Static route drops