Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2004
How to start a VPN connection on boot?
sudo pon myvpn nodetachCode:
sudo pppd call myvpn
Take a look at initd scripts. If initd does not work for you, an alternative and far more complicated approach would be to configure a cronjob that regularily ensures that the vpn connection is up and in case it is not to bring it up. The trouble there is that the cron script can become a witness of network downtimes and thus would need to handle those things properly. Last but not least there exist vpn daemons around that do both things (see openvpn "AUTOSTART" directive).