Dan Lundmark
New Around Here
Im running a AC5300 with standard, updataed firmware. I want to create a script in the end that can (via a button)switch on and off the routers VPN Client. Before that I want to check that this works via the command line so I log in via SSH (Windows 10 standard SSH functionality) to my router as main user. All that works fine.
I dont change to any particlar directory, just standing in the directory you come when logging in. At this time i write "service start_vpnclient1". Half a second later I get a reply "Done" back from the router in the terminal window. Fine BUT
Logging in at the same time in the GUI, looking at the VPN page (refreshinbg of course) the status is NOT updated for any VPN client (I have two configured). I also check my IP address and no change.
Manually in the GUI I can switch on/off with no problem and also see that my IP changes externally in one of the available services for this.
Any suggestions what Im doing wrong?
I dont change to any particlar directory, just standing in the directory you come when logging in. At this time i write "service start_vpnclient1". Half a second later I get a reply "Done" back from the router in the terminal window. Fine BUT
Logging in at the same time in the GUI, looking at the VPN page (refreshinbg of course) the status is NOT updated for any VPN client (I have two configured). I also check my IP address and no change.
Manually in the GUI I can switch on/off with no problem and also see that my IP changes externally in one of the available services for this.
Any suggestions what Im doing wrong?