OpenVPN double routing problem?
Hi,
I'm doing some firewalls for remote office sites, and want do have a dual VPN connection setup:
Two seperate VPN gateways at the main site, each with their own configuration files, internet connection etc. for redundancy.
On the remote end I specify (amongst others):
remote vpnbox1
ifconfig 10.251.0.2 10.251.0.1
ping 1
ping-restart 3
route 10.0.0.0 255.0.0.0 10.251.0.1 1
route-delay
And the other tunnel:
remote vpnbox2
ifconfig 10.252.0.2 10.252.0.1
ping 1
ping-restart 3
route 10.0.0.0 255.0.0.0 10.251.0.1 2
route-delay
This works, as both tunnels come up (each added with "ip route add 10.0.0.0/8 via <gwip> metrix <metric>", and "ip route" gives me two routes each with their own metric.
But alas, bringing one tunnel down, removes both routes as the route is removed with "ip route delete 10.0.0.0/8"
This is a bug, right?
Signature · 1 line
Lars Karlslund <[email protected]...>
No, it's not a bug; your routing is broken. Please repost to openvpn-users, and avoid posting initially to openvpn-devel unless your question came up in the course of writing or debugging code for OpenVPN or preparing to do so.