What's new

Turn on OpenVPN via ssh?

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

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

Sign Up For SNBForums Daily Digest

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