Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Routing table corruption after reboot. *PROBLEM FOUND/SOLVED*
« previous
next »
Print
Pages: [
1
]
Author
Topic: Routing table corruption after reboot. *PROBLEM FOUND/SOLVED* (Read 674 times)
mrzaz
Newbie
Posts: 13
Karma: 1
Routing table corruption after reboot. *PROBLEM FOUND/SOLVED*
«
on:
October 14, 2022, 11:13:02 am »
Hello,
I have an issue that has been going on now for some time that is very anoying and still after 22.7.6 upgrade persists.
BACKGROUND:
I have 4 IPsec tunnels (one standard and 3 VTI) and a OpenVPN Server configured
PROBLEM:
What happens is that every time I reboot the opnsense, two of the static routes configured gets corrupted and selects a different gateway. Happens every time I reboot. If I remove and set them up again the routing table becomes correct and routing starts working OK.
After REBOOT
Destination Gateway Flags Use MTU Netif Netif(name)
192.168.10.0/24
192.168.121.2
UGS NaN 1500
ovpns1
OVPN_SERVER
192.168.20.0/24
192.168.121.2
UGS NaN 1500
ovpns1
OVPN_SERVER
After reconfigure 192.168.10.0 and 192.168.20.0
Destination Gateway Flags Use MTU Netif Netif(name)
192.168.10.0/24
link#8
US NaN 1400
ipsec1
HENRIK_VTI
192.168.20.0/24
link#9
US NaN 1400
ipsec3
HENRIK_MAMMAPAPPA_DIREKT
Have tried all sorts of things but problem still persists and ONLY one these two routes...
Feel it is a bug lurking...
Has anyone else seen this problem and could someone at opnsense have a look.
I have attached some screenshots and logfiles.
Contact me with pm for more screenshots, logs and I could include the config.xml as well.
UPDATE:
I have now found the culprit.
I had a by misstake defined a bunch of networks in OpenVPN Server config "IPv4 Remote Network" which caused it to highjack these nets towards the ovpns1 interface instead of the one I had defined in the routing table. Problem is now solved...
Best regards
Dan Lundqvist
Stockholm, Sweden
«
Last Edit: October 30, 2022, 02:14:08 am by mrzaz
»
Logged
Best regards
Dan Lundqvist (mrzaz)
"It's better to burn up, than fade away..." (Highlander)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.7 Legacy Series
»
Routing table corruption after reboot. *PROBLEM FOUND/SOLVED*