Page 1 of 1

Connecting to a VPN through command prompt

Posted: Sat Aug 19, 2023 3:33 pm
by bestsamp
Can someone explain / help how do i connect to a vpn from https://www.vpngate.net/en/ using command prompt? I just can't figure it out. I tried something like this

Code: Select all

vpncmd 163.182.174.159:443 /server /hub=VPNGATE /password=vpn
but it's saying that the password is wrong?
Access has been denied. Possibly the password is incorrect, or perhaps you are connecting by an incorrect admin mode. You can try inputting the password again. To cancel, press Ctrl+D.
Password:

Re: Connecting to a VPN through command prompt

Posted: Sat Aug 19, 2023 3:48 pm
by solo
1. add
name: public-vpn-185
host: public-vpn-185.opengw.net/tcp
port: 443
vhub: VPNGATE
user: vpn
pass: vpn

2. connect
vpncmd localhost /client /cmd AccountConnect public-vpn-185

Re: Connecting to a VPN through command prompt

Posted: Sat Aug 19, 2023 3:58 pm
by bestsamp
solo wrote:
Sat Aug 19, 2023 3:48 pm
1. add
name: public-vpn-185
host: public-vpn-185.opengw.net/tcp
port: 443
vhub: VPNGATE
user: vpn
pass: vpn

2. connect
vpncmd localhost /client /cmd AccountConnect public-vpn-185
I understand now, but I had just one more question is it possible to add the vpn configuration from command prompt aswell?

Re: Connecting to a VPN through command prompt

Posted: Sat Aug 19, 2023 4:26 pm
by solo