What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

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)
 

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!
Back
Top