-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
> Hi gents, > > Quick question regarding OpenVPN on Centos 6.5. It seems that the Debian > version of the startup script has the functionality to restart specific > tunnels. Since I'm running both a NAT and a route tunnel, I was > wondering if the same behavior was also possible on Centos? > > I guess that the other option is to connect to the management interface > and restart the tunnel that way. > > Thank you for any information on the matter. > > Centos 6.5 > openvpn-2.3.2-2.el6.x86_64 > Hi, The init script included in that rpm package only loops through the openvpn .conf files in /etc/openvpn and tries to start each of them (see /etc/init.d/openvpn). So, by default, CentOS will only start all OpenVPN instances, or none. That said, adapting the relevant bits from the Debian 7.x init script to the CentOS script should not be too difficult. The modified init script would possibly get overwritten during package upgrades, so you should keep a copy. Having a patch with the changes would be even better. One alternative is to upgrade to CentOS 7, where (afaik) systemd can selectively start OpenVPN instances. - -- Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlRQk6MACgkQwp2X7RmNIqPmZwCfa5kHHgT0T3KZ1JITuaS1qsAO lNQAn2Wcz/+Q4b349b6woJNTDIID8OeR =cN4V -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users