Как настроить VPN-клиент для доступа к удаленному VPN-серверу?

Клиент VPN – это терминальное устройство или программное обеспечение, используемое для установки безопасного соединения между пользователем и VPN-сервером.

 

Что такое VPN?

VPN (виртуальная частная сеть) помогает вам получать доступ к интернет-ресурсам удаленно, безопасно и конфиденциально с помощью технологии туннелирования. VPN шифрует вашу личную информацию и скрывает ваш IP-адрес от общественности, когда вы пользуетесь Интернетом. Для пользователей VPN это будет выглядеть так, как будто компьютеры были напрямую подключены друг к другу.

 

Общая топология сети:

 

 

В качестве примера мы используем WR2100.

 

Шаг 1:  Откройте веб-браузер и перейдите по адресу http:/ /cudy.net или http ://192.168.10.1

Подробную информацию см. на странице Как войти в веб-интерфейс Cudy Маршрутизатор?

Шаг 2. Нажмите Общие настройки->VPN и включите VPN.

Правило по умолчанию: Разрешить всем устройствам или Запретить всем устройствам использование VPN.

Чтобы указать устройство, нажмите Состояние системы – > Устройства->VPN , чтобы включить или отключить его.

Межсайт-сайт: < /strong>Разрешить устройствам на двух сайтах взаимодействовать друг с другом.

Политика VPN: 

Отключить: Нет дополнительных настроек.

Аварийный переключатель VPN: Отключить подключение к Интернету при потере VPN-соединения.

Домен: Укажите, какие домены проходят через VPN и а чего нет

Удаленная подсеть: Укажите, какие подсети проходят через VPN а какие нет

Шаг 3. В Протокол , выберите тот, который вам нужен, и введите информацию VPN, предоставленную вашим провайдером VPN.

 

• PPTP VPN

Введите адрес VPN-сервера (например, 113.92.73.163), а также имя пользователя и пароль VPN. предоставляется вашим провайдером VPN.

 

• L2TP VPN

Введите адрес VPN-сервера (например, 113.92.73.163), имя пользователя и пароль VPN, а также общий ключ, предоставленный вашим VPN-провайдер.

Если ваш провайдер VPN также предоставляет вам IP-адрес туннеля, который привязывается к учетной записи, вы можете включить Использовать собственный IP-адрес туннеля.

 

• OpenVPN < /span>

Нажмите Браузер , чтобы импортировать файл конфигурации, предоставленный вашего провайдера VPN.

 

 

• WireGuard VPN

 

Нажмите Браузер , чтобы импортировать файл конфигурации, предоставленный вашего провайдера VPN.

 Интерфейс и Peer будет автоматически синхронизироваться с CONF-файлом вашего VPN-провайдера.

 

 

 

• Подчиненное устройство нулевого уровня

Введите Идентификатор сети нулевого уровня и Шлюз предоставляется мастером ZeroTier. Шлюз можно найти в разделе «Статус VPN».

 

 

Статья по теме: Как удаленно подключить маршрутизатор Cudy через Zerotier?-Cudy Home

Вернуться к блогу

Комментариев: 186

Dear TEN, Would you please record a screen video to show me how do you set on the router and how to reproduce this issue. Then send it to my email box. samcudy.com
I will check and try to find a solution.

Support

Adding to the urgency of my and others’ reports below, on firmware 2.4.7 I have found the “VPN kill switch” to fail contrary to its name and purpose, leaking local IP after WireGuard drops, which as you know may put users in serious jeopardy.

TEN

@Dear TEN,
We will follow it, please wait patiently.
“WireGuard VPN with kill switch does NOT (re)connect automatically indeed (i.e. stays red) on current firmware https://www.cudy.com/cdn/shop/files/WR3000E-R53-2.4.7-20250528-182254-sysupgrade.zip in WISP mode after reboot(s) or when host WiFi comes up (again).
Cf. Evian’s requests currently at the bottom of https://www.cudy.com/de-de/blogs/faq/wie-stelle-ich-den-vpn-client-ein-um-auf-einen-remote-vpn-server-zugreifen?page=5#Comments-589223624948
From the web interface which most clients should not (have to) access, VPN can be made connect (turn green) by manual iterations through toggling it off, saving, waiting, then toggling VPN on again, saving again (steps possibly required repeatedly), or comes on again (then) automatically after running Diagnostics:
This behavior suggests there may be a timing issue of VPN initially failing e.g. because WISP (or generally WAN) isn’t fully up yet for a WireGuard tunnel to establish, then staying disconnected because it may not be retrying (frequently enough, or at all).
If auto-connect can’t be made more reliable, dedicated buttons to (re)connect VPN and show details of its log and status would at least help admins recover.
As a defense against leakage, of course enabling “VPN kill switch” often isn’t optional.”

Support

WireGuard VPN with kill switch does NOT (re)connect automatically indeed (i.e. stays red) on current firmware https://www.cudy.com/cdn/shop/files/WR3000E-R53-2.4.7-20250528-182254-sysupgrade.zip in WISP mode after reboot(s) or when host WiFi comes up (again).
Cf. Evian’s requests currently at the bottom of https://www.cudy.com/de-de/blogs/faq/wie-stelle-ich-den-vpn-client-ein-um-auf-einen-remote-vpn-server-zugreifen?page=5#Comments-589223624948
From the web interface which most clients should not (have to) access, VPN can be made connect (turn green) by manual iterations through toggling it off, saving, waiting, then toggling VPN on again, saving again (steps possibly required repeatedly), or comes on again (then) automatically after running Diagnostics:
This behavior suggests there may be a timing issue of VPN initially failing e.g. because WISP (or generally WAN) isn’t fully up yet for a WireGuard tunnel to establish, then staying disconnected because it may not be retrying (frequently enough, or at all).
If auto-connect can’t be made more reliable, dedicated buttons to (re)connect VPN and show details of its log and status would at least help admins recover.
As a defense against leakage, of course enabling “VPN kill switch” often isn’t optional.

TEN

@Dear Khisamov,
Our technical support has contacted you via email. Please check.

“Hello,
We are using Cudy M3000 routers with firmware version 2.4.8 and have encountered the following issues:
No Option for Bulk Subnet Entry:
There is currently no way to add multiple subnets in bulk — each one has to be entered manually. This becomes very inefficient when dealing with a large number of subnets.
Is there any method to simplify this process (e.g. import from file, support for subnet ranges, etc.)? Are there any plans to introduce such functionality in future firmware updates?
Unable to Delete Subnet – Duplicate Error:
When attempting to delete a previously added subnet, we receive an error stating that duplicates exist, even though the subnet was added only once.
This prevents us from removing or modifying the entry. Could you advise on how to resolve this issue, and whether it is expected to be fixed in an upcoming release?
Looking forward to your assistance.”

Support

Комментировать