Connecting to a VPN through command prompt

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
bestsamp
Posts: 2
Joined: Sat Aug 19, 2023 3:30 pm

Connecting to a VPN through command prompt

Post by bestsamp » Sat Aug 19, 2023 3:33 pm

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:

solo
Posts: 1287
Joined: Sun Feb 14, 2021 10:31 am

Re: Connecting to a VPN through command prompt

Post by solo » 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

bestsamp
Posts: 2
Joined: Sat Aug 19, 2023 3:30 pm

Re: Connecting to a VPN through command prompt

Post by bestsamp » Sat Aug 19, 2023 3:58 pm

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?


Post Reply