Connect VPNGate using cmd

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Ruud14
Posts: 1
Joined: Tue Jan 22, 2019 7:44 pm

Connect VPNGate using cmd

Post by Ruud14 » 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.

thisjun
Posts: 2313
Joined: Mon Feb 24, 2014 11:03 am

Re: Connect VPNGate using cmd

Post by thisjun » Thu Feb 21, 2019 6:46 am

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'.

Post Reply