Difference between revisions of "creating additional VPNs with OpenVPN"

From thelinuxwiki
Jump to: navigation, search
(Created page with " * The openvpn init script expects to find the configuration file * openvpn.conf in /etc/openvpn along with any extra files it may need. * * To create more VPNs, simply cr...")

Revision as of 22:57, 14 April 2013

* The openvpn init script expects to find the configuration file
* openvpn.conf in /etc/openvpn along with any extra files it may need.
* 
* To create more VPNs, simply create a new .conf file for it and
* then create a symlink to the openvpn init script from a link called
* openvpn.newconfname - like so
*    cd /etc/openvpn
*    nano foo.conf
*    cd /etc/init.d
*    ln -s openvpn openvpn.foo
* 
* You can then treat openvpn.foo as any other service, so you can
* stop one vpn and start another if you need to.