add route command
On Mon, 11 Aug 2008 22:57:49 +0530, Kaushal Shriyan wrote:
> Hi
>
> How can i add post up scripts using man interfaces
>
> Basically I want to add the route command manually whenever i need to
> connect to the openvpn server
>
> sudo ip route add 10.10.0.0/8 via 10.10.10.12 dev tap0
>
> is there a way to automate it
>
> Thanks and Regards
>
> Kaushal
>
There should be a *.conf file in /etc/openvpn/ where you could automate
the setting of your route. Either that or a /etc/openvpn/*.up file. See
the man pages.
--
Aart
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
|