ghiste
1
Hi,
I have configured openvpn and from luci it works. I can press a button to connect and disconnect.
Now I would like to do that from the command line and I cannot figure out how to do that.
running “/etc/init.d/openvpn start” does not seem to do anything…
display all instances configured in UCI section of openvpn
# uci show openvpn | grep =openvpn
openvpn.custom_config=openvpn
openvpn.sample_server=openvpn
openvpn.sample_client=openvpn
openvpn.MY_VPN=openvpn
so after to start
/etc/init.d/openvpn start MY_VPN
and to stop
/etc/init.d/openvpn stop MY_VPN