I've been searching over these forums but can't seem to find a working way of automating connecting and disconnecting from a vpn.
I just want to connect to a server from the "VPN Gate Public VPN Relay Servers" using cmd.
lets assume this:
Host name: xx.xx.xx.xx (this of course isn't the real ip)
Port number: 1234
Virtual Hub Name: VPNGATE
and it uses Anonymaus authentication username: vpn
when I am in the client and click "Add VPN Connection" and enter the above, it works but I can't get this to work from the command line.
The closest I got is:
vpncmd xx.xx.xx.xx:1234 /SERVER /Hub:VPNGATE
This is the only command that didn't give me an error. Instead it asked me to enter a password, but I don't have anny. I just want to connect to the vpn.
Connect VPNGate using cmd
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: Connect VPNGate using cmd
It seems that you try to take control of the VPN Gate server of someone.
If you want to connect VPN client service, you can do by 'vpncmd /client localhost'.
If you want to connect VPN client service, you can do by 'vpncmd /client localhost'.
-
- Posts: 1
- Joined: Fri Apr 17, 2020 1:34 pm