Very quick openvpn/pfsense question
-
i have a site to site vpn with pfsense as a "client" and a freebsd6 machine as a "server". is there a way to have pfsense as the client push a route to the freebsd server for a local lan that is behind pfsense? im running into an issue where i static the route on the freebsd machine but if i restart the openvpn server or the tunnel drops, the route telling freebsd6 how to get to the lan behind pfsense goes away and doesnt come back thus requiring manual intervention.
thanks!
-
Take a look at the openVPN-MAN-pages. Look for the "route" command.
You can add on the server config an entry that when the tunnel comes up automatically adds the necessary route to the servers routingtable.
When the tunnel drops openVPN automatically remoces the entries and adds them again if the tunnel comes back up.
You cannot do this on the client side but on the server side. -
Take a look at the openVPN-MAN-pages. Look for the "route" command.
You can add on the server config an entry that when the tunnel comes up automatically adds the necessary route to the servers routingtable.
When the tunnel drops openVPN automatically remoces the entries and adds them again if the tunnel comes back up.
You cannot do this on the client side but on the server side.thanks very much. i knew there had to be something to do this.