Page 1 of 1

Connect VPNGate using cmd

Posted: Tue Jan 22, 2019 7:53 pm
by Ruud14
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.

Re: Connect VPNGate using cmd

Posted: Thu Feb 21, 2019 6:46 am
by thisjun
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'.