OpenVPN startup scripts on IRC today
Paul Gear
paul at libertysys.com.au
Fri Sep 4 09:19:27 BST 2009
Hi guys,
To whomever was having this discussion:
(13:58:17) policenaut: does anyone know here i can setup openvpn to load
at startup so I don't have to manually do sudo openvpn "file*"
(13:59:17) hybr1d8: easiest way is to add it to /etc/init.d/rc.local
(13:59:18) hybr1d8: A better way is to write your own init script
(14:00:25) policenaut: an examples of an init script lying around :)
(14:01:30) hybr1d8: the rc.local script is a good template (just copy to
a new name and edit as needed - then use update-rc.d to get it to
actually be used :-) )
(14:02:12) policenaut: i'll check it out. thanks :)
There's no need to write your own script. If you put a valid
configuration file in /etc/openvpn with a .conf extension, the openvpn
startup script will do it for you automatically.
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-au/attachments/20090904/56b5ca72/attachment-0002.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paul.vcf
Type: text/x-vcard
Size: 203 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-au/attachments/20090904/56b5ca72/attachment-0002.vcf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4646 bytes
Desc: S/MIME Cryptographic Signature
Url : https://lists.ubuntu.com/archives/ubuntu-au/attachments/20090904/56b5ca72/attachment-0002.bin
More information about the ubuntu-au
mailing list