@[NUT:
link=topic=105139.msg586807#msg586807 date=1452746714]
@Arancho:
[SNIP]
The only issue I have found occours when the OVPN tunnel goes down, for any reason, also if I shut it down, and PFSense does not delete the associated route.
When the tunnel tries to go up again the service stops because it is not able to add the route (that already exists).
The only way I found is to destroy the hanging interface "ifconfig ovpnc1 destroy".
You know… this sounds a lot like the problem me and some others are having… though I never thought of fixing the interface that way.... I usually reboot once a service restart won help... ;)
that's because ospf distributes the tunnel networks aswell.
site1=a&c
site2=c&d
a–--b
c----d
when "a" goes down, the tunnel network(=route) for "a-b" is still being distributed via the "c-d" connection and never gets removed from the routing-table of site1.
the solution is to prevent the tunnel-networks to be distributed.
see:
-Services: Quagga OSPFd: Edit interface: Accept Filter
-play with disable acceptance/distribution in the global settings.
takes some experimenting to get it to work & behaves differently when you run it on an interface or just a plain openvpn connection