Как настроить 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

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

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

@Soutien

Le problème n’a toujours pas été résolu malgré le fait d’avoir fait ce que tu m’as recommandé hier , cela continu et comprendre que j’ai un souci de débit de connexion pourtant j’ai une connexion avec un assez bon débit pour les vidéos en super qualité déja sur Youtube pour n’en citer qu’un.
Pourtant lorsque je désactive le VPN uniquement sur le périphérique TV , là elle redonne sans problème , lecture ultra rapide et dès qu’il est réactivé la connexion ne passe plus sur Netflix mais les pages et les rubriques s’ouvre sans problème uniquement la lecture qui recommence à me parler de débit de connexion faible pour ne pas lancer la vidéo

willo

@Cher Willo,
Veuillez essayer de configurer la politique VPN sur « coupe-circuit VPN ». Ainsi, tout le trafic passera par le tunnel VPN. Vous pourrez ensuite vérifier si le problème est résolu.

“Salut ,

J’ai configurer un client Open Vpn via Nord Vpn sur mon routeur WR3000 en utilisant le tuto Cudy , et cela a parfaitement fonctionner sauf qu’au moment ou je lance la lecture de vidéo Netflix , cela ne passe pas mais cela passe sur tout autre plateforme normalement , je précise que j’ai bien téléchargé le client VPN en protocole UDP . donc ma question est de savoir comment faire pour y remédier ou de savoir si il y’a une autre alternative pour que la plateforme Netflix fonctionne correctement"

Support

Salut ,

J’ai configurer un client Open Vpn via Nord Vpn sur mon routeur WR3000 en utilisant le tuto Cudy , et cela a parfaitement fonctionner sauf qu’au moment ou je lance la lecture de vidéo Netflix , cela ne passe pas mais cela passe sur tout autre plateforme normalement , je précise que j’ai bien téléchargé le client VPN en protocole UDP . donc ma question est de savoir comment faire pour y remédier ou de savoir si il y’a une autre alternative pour que la plateforme Netflix fonctionne correctement

willo

@Dear Felice,
Please enable the VPN kill switch function, Then all the traffics from the clients will go through VPN connection.

“Hi,
I am using a Cudy AX3000 router configured as an OpenVPN client (ExpressVPN).
I have observed the following behavior:

The router itself connects correctly to the VPN and gets an IP in the VPN country. However, LAN clients do not appear to have their DNS traffic routed through the VPN tunnel by default. DNS queries from LAN clients are resolved via the WAN interface unless additional workarounds are implemented.
I would like to clarify:

1. Does the OpenVPN client on this router support full-tunnel routing for all LAN devices (i.e. all traffic, including DNS, forced through the VPN interface)?
2. Is there a setting to ensure DNS queries from LAN clients are always routed through the VPN tunnel and not via the WAN?
3. Does the “VPN kill switch” function enforce routing of LAN traffic through the VPN, or only block traffic when the VPN is down?
4. Are there firmware versions or models that support proper policy-based routing (e.g. select devices or all LAN traffic via VPN)?

My goal is to have all LAN devices fully routed through the VPN, including DNS, without relying on external DNS proxies or additional devices.

Thank you for your support."

Support

Hi,
I am using a Cudy AX3000 router configured as an OpenVPN client (ExpressVPN).
I have observed the following behavior:

The router itself connects correctly to the VPN and gets an IP in the VPN country. However, LAN clients do not appear to have their DNS traffic routed through the VPN tunnel by default. DNS queries from LAN clients are resolved via the WAN interface unless additional workarounds are implemented.

I would like to clarify:

1. Does the OpenVPN client on this router support full-tunnel routing for all LAN devices (i.e. all traffic, including DNS, forced through the VPN interface)?
2. Is there a setting to ensure DNS queries from LAN clients are always routed through the VPN tunnel and not via the WAN?
3. Does the “VPN kill switch” function enforce routing of LAN traffic through the VPN, or only block traffic when the VPN is down?
4. Are there firmware versions or models that support proper policy-based routing (e.g. select devices or all LAN traffic via VPN)?

My goal is to have all LAN devices fully routed through the VPN, including DNS, without relying on external DNS proxies or additional devices.

Thank you for your support.

Felice

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