Auto connection to another VPN in VPNGATE when previous VPNs fail. Авто подключение в VPNGATE к другому VPN при отказах

Post your questions about VPN Gate Academic Experiment Service here. Please answer questions if you can afford.
Post Reply
bizbaza
Posts: 1
Joined: Sun Oct 12, 2025 2:05 pm

Auto connection to another VPN in VPNGATE when previous VPNs fail. Авто подключение в VPNGATE к другому VPN при отказах

Post by bizbaza » Sun Oct 12, 2025 2:42 pm

Please help me solve this problem.
Auto connection to another VPN in VPNGATE when previous VPNs fail.

DATA:
I have a Windows 7-10 computer with SoftEther VPNGATE Client Manager installed to get a free VPN.
This Windows computer with VPN is connected to a local network where users need to be able to watch YouTube, etc. when they are blocked.

TASK:
When the Windows computer is turned on, SoftEther VPNGATE Client Manager should:
1) Automatically connect to free VPNs
2) With a higher speed from the entire list.
3) Reconnect to other working free VPNs when the previous ones stop working (1-2 times).
---------------------------------------------------------------
Пожалуйста помогите решить эту задачу.
Авто подключение в VPNGATE к другому VPN при отказах предыдущих VPN.

ДАНО:
У меня Windows 7-10, на котором установлен SoftEther VPNGATE Client Manager для получения бесплатного VPN.
К этому компьютеру с Windows и VPN, подключены пользователи локальной сети, которым важно смотреть youtube и т.д., когда заблокированы.

ЗАДАЧА:
SoftEther VPNGATE Client Manager при включении компьютера с Windows должен:
1) Автоматически подключаться к бесплатным VPN
2) С более высокой скоростью из всего списка.
3) Переподключаться в другим работающим бесплатным VPN, когда предыдущие перестают работать ( не проходит подключение 1-2 раза ).

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

Re: Auto connection to another VPN in VPNGATE when previous VPNs fail. Авто подключение в VPNGATE к другому VPN при отка

Post by solo » Mon Oct 13, 2025 3:07 am

It's not going to happen anytime soon or ever, as there are more interesting features to implement first like IKEv2. But don't worry, you can do it yourself right now with a script:

Code: Select all

@echo off
path=%path%;C:\Program Files\SoftEther VPN Client
:start
vpncmd /CLIENT localhost /CMD AccountRetrySet public-vpn-185 /NUM:0 /INTERVAL:3
vpncmd /CLIENT localhost /CMD AccountConnect public-vpn-185
ping -n 30 localhost >nul
vpncmd /CLIENT localhost /CMD AccountRetrySet public-vpn-222 /NUM:0 /INTERVAL:3
vpncmd /CLIENT localhost /CMD AccountConnect public-vpn-222
ping -n 30 localhost >nul
rem +3
rem +4
rem +...
goto start

In SoftEther VPN Client Manager preset a few VPNGATE accounts as follows:
name: public-vpn-185
host: public-vpn-185.opengw.net/tcp
port: 443
vhub: VPNGATE
user: vpn
pass: vpn
Also check "Hide Status and Errors Screens" on every account listed in this script.

As for "With a higher speed from the entire list", you'd better pick the highest speed per user/session rather than cumulative throughput.

Post Reply