Turn VPN on and off from SSH

Hi there, I can connect to MT300N Mango with SSH but I am trying to connect and disconnect OpenVPN or WireGuard any of them which is possible via terminal.
I have tried openvpn --config *.vpn but no luck.


just use the startup script

/etc/init.d/startvpn start|stop

/etc/init.d/wireguard start|stop

I believe I tested sth similar but I am gonna give it another shot thanks