Connect VPNGate using cmd
Posted: Tue Jan 22, 2019 7:53 pm
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.
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.