Custom Routing Options Conflict - OpenVPN stop run
I have 4 tunnels VPN configured :
I added Routing Custom Option for the 10.24.0.0/16 :
push "route 10.23.1.0 255.255.255.0"
push "route 10.25.1.0 255.255.255.0"
push "route 10.26.1.0 255.255.255.0"
It works well
When I am adding new line -> push "route 10.25.2.0 255.255.255.0"
This tunnel stop works like a conflict appears or something is wrong.
I cannot understand what is the problem ?
Maye conflict in my OpenVPN Rules between tunnel VPN ?
10.25.2.0 255.255.255.0 (10.25.2.0/24) overlaps 10.25.0.0/16
You don't need and should not push routes via the custom options in pfSense. Just use the boxes like IPv4 Local network(s).
Why this rule work : push "route 10.25.1.0 255.255.255.0" but doesn't work adding 10.25.2.0 ? If it is overlapsing 10.25.0.0/16 ?
I make this configuration because I want to force my client to use Tunnel VPN in cas of reaching this IP's :
but all others IP connection will be routed by local network (Not passing bby my VPN).
I don't see how I can configure it in another way.
push routes via the custom options in pfSense
Do you have an idea ?
Show the exact entries you have in custom options, the errors you receive in the OpenVPN log, and the resulting OpenVPN config file from
/var/etc/openvpn. Without knowing the exact input or what OpenVPN is claiming the error is, nobody can say for sure what the problem may be.