What's new

Turn on OpenVPN via ssh?

ICDeadPpl

Occasional Visitor
Is there a way to switch on/off the OpenVPN client (1 or 2) from the shell?
That way I could enable and disable the OpenVPN client via a bash script...
 
Is there a way to switch on/off the OpenVPN client (1 or 2) from the shell?
That way I could enable and disable the OpenVPN client via a bash script...

Code:
service stop_vpnclient1
and
service start_vpnclient1

(or 2 if you configured the second instance)
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Back
Top