Start, Stop multiple OpenVPN Client
-
Hi all,
lets say i have a OpenVPN Server and 5 Client, i want to start or stop Clients from console anytime i Need. i know we can start(stop) them with folloing command : " /usr/local/sbin/pfSsh.php playback svc start(stop) openvpn client 1 "
now i want to know, is there a way to define each Client with a specific Name for example : a, b, c, d and e . then start or stop them with calling These names, for example sth like: " " /usr/local/sbin/pfSsh.php playback svc start(stop) openvpn a "thanks
-
Upi would have to write php to do that then call the proper command in the format already referenced.
-
Upi would have to write php to do that then call the proper command in the format already referenced.
thanks for reply, ja it can be written with php or a simple script but my question is, how can i reference my Clients to the names which i want.
because as i know Clients are referenced automatic by numbers, such as Client 1 ,Client 2 and so on…, now i want to know how can i reference Client 1 as for example "a" , Client 2 as "b" and ...