Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
OpenVPN instances and pushed default routes
« previous
next »
Print
Pages: [
1
]
Author
Topic: OpenVPN instances and pushed default routes (Read 458 times)
Slydder
Newbie
Posts: 3
Karma: 0
OpenVPN instances and pushed default routes
«
on:
June 03, 2024, 10:08:04 am »
hey all,
I have a problem here where I am connecting two opnsense sites (S2S) and the routes being pushed should only contain 2 subnets but is actually pushing 0.0.0.0/2 as well.
regardless of what I set on the server side I cant get rid of this and it is killing our net. I have since disable automatic routes with route-noexec on the client side but cannot find where to edit the route-up script. is that even possible in opnsense?
thx for any help,
chuck
«
Last Edit: June 03, 2024, 10:09:53 am by Slydder
»
Logged
Slydder
Newbie
Posts: 3
Karma: 0
Re: OpenVPN instances and pushed default routes
«
Reply #1 on:
June 03, 2024, 11:06:04 am »
So there is no way to edit the config per hand to add a route-up script entry and there is no way to add a route-up entry in the gui which makes the route-noexec useless.
if the "not ipv4 (default)" on the server would just work as it says it should in the openvpn docs I would be happy. anyone have an idea?
Logged
Slydder
Newbie
Posts: 3
Karma: 0
Re: OpenVPN instances and pushed default routes
«
Reply #2 on:
June 03, 2024, 12:28:19 pm »
Current work around to stay online until a solution is available:
I added the following entry in /etc/crontab
* * * * * root ( sleep 5 ; /sbin/route del -net 0.0.0.0/2 10.52.0.1 )
and now regardless of what crap gets pushed I can keep the net online.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
OpenVPN instances and pushed default routes