Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
blackhole routing vs openvpn not working
« previous
next »
Print
Pages: [
1
]
Author
Topic: blackhole routing vs openvpn not working (Read 62 times)
sebazz
Newbie
Posts: 1
Karma: 0
blackhole routing vs openvpn not working
«
on:
October 29, 2024, 11:05:54 pm »
I am fairly new to opnsense but not to networking, nevertheless this is my first post.
A while ago i've added blackhole routes using this thread:
https://forum.opnsense.org/index.php?topic=34190.0
That did work ok, i think...
I discovered recently that my OpenVPN did not forward traffic anymore. I did see DNS queries on the VPN interface but no traffic. In all that time i did upgrade to the latest Opnsense but did not test the VPN.
I've tried rebuilding configs etc but that did not work.
My VPN range consists of the 192.168.99.0/24 subnet.
I discovered today that the VPN traffic started working again by disabling this blackhole route: 192.168.0.0/16
So now i am confused, as far as i know the most specific route will win.
So routing to null for 192.168.0.0/16 would be overruled by the specific subnet 192.168.99.0/24.
But that network will only be "up" when a VPN connection is made.
So maybe the "injection" of the vpn network route when using a blackhole route does not work or the specific subnet does not overrule the larger subnet?
Can anyone comment on this? Do I misinterpret something or is it a bug?
Opnsense version 24.7.7
Openvpn version 2.6.12
cheers,
Sebas
*******************
Update:
*******************
I found some articles
-
https://docs.opnsense.org/troubleshooting/openvpn.html
-
https://docs.opnsense.org/manual/firewall.html
-
https://forum.opnsense.org/index.php?topic=15047.0
-
https://docs.netgate.com/pfsense/en/latest/vpn/openvpn/assign.html
But all the config looked corrupt as firewall rules were moved to the OpenVPN rules instead of my instance rules.
So i started to delete ALL OpenVPN config and rebuild it.
Then disabled the created OpenVPN gateway.
Then all started working.
Still however confused it did work without the blackhole route and stopped with the blackhole route :S
«
Last Edit: October 30, 2024, 02:01:06 pm by sebazz
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
blackhole routing vs openvpn not working