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...")
 
 
Line 1: Line 1:
  * The openvpn init script expects to find the configuration file
+
   
 +
This is specific to gentoo buy may work similarly for other distros
 +
 
 +
* The openvpn init script expects to find the configuration file
 
  * openvpn.conf in /etc/openvpn along with any extra files it may need.
 
  * openvpn.conf in /etc/openvpn along with any extra files it may need.
 
  *  
 
  *  

Latest revision as of 17:52, 9 March 2014

This is specific to gentoo buy may work similarly for other distros

  • 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.