Turn your VPN on/off
-
I'm using Merlin atm, so the command below will work.
ssh router-admin-name@router-ip service stop_vpnclient1
ssh router-admin-name@router-ip service start_vpnclient1You will need to turn off allow password login and generate/add the keys from your machine.
But it works well. I will write up a full guide, only took me about a day to figure out so it can't be that hard.
-
For OpenWRT you can start the VPN interface with:
ifup VPNInterfaceNameAnd Stop it with:
ifdown VPNInterfaceNameMore info:
https://openwrt.org/docs/guide-user/base-system/basic-networking#network_management -
Thanks for that tip, Scott.
I will add that to my guide on r/SmartHome.