Como configuro o cliente VPN para acessar um servidor VPN remoto?

Um cliente VPN é um dispositivo terminal ou software usado para estabelecer uma conexão segura entre um usuário e um servidor VPN.

 

O que é VPN?

Uma VPN (Rede Privada Virtual) permite que você acesse recursos da internet remotamente, com segurança e privacidade, utilizando a tecnologia de tunelamento. A VPN criptografa suas informações pessoais e oculta seu endereço IP do público quando você usa a internet. Para os usuários da VPN, parecerá que os computadores estavam conectados diretamente uns aos outros.

 

Topologia de rede comum:

 

 

Aqui usamos o WR2100 como demonstração.

 

Passo 1:Abra um navegador da web e vá parahttp://cudy.netouhttp://192.168.10.1.

Para mais detalhes, consulteComo fazer login na interface web do roteador Cudy?

Passo 2:Clique emConfigurações gerais->VPNe habilitarVPN.

Regra padrão: Permitir todos os dispositivosouBanir todos os dispositivospara usar VPN.

Para especificar o dispositivo, clique emStatus do sistema->Dispositivos->VPNpara habilitá-lo ou desabilitá-lo.

Site para site:Permitir que os dispositivos em dois locais se comuniquem entre si.

Política de VPN:

Desabilitar:Nenhuma configuração adicional.

Interruptor de segurança de VPN:Desligue a conectividade com a Internet quando a conexão VPN for perdida.

Domínio:Especifique quais domínios passam pela VPN e quais não

Sub-rede remota:Especifique quais sub-redes passam pela VPN e quais não

Etapa 3:NoProtocololista, selecione o que você precisa e insira as informações de VPN fornecidas pelo seu provedor de VPN.

 

VPN PPTP

Digite o endereço do servidor VPN (por exemplo, 113.92.73.163) e o nome de usuário e a senha VPN fornecidos pelo seu provedor de VPN.

 

VPN L2TP

Digite o endereço do servidor VPN (por exemplo, 113.92.73.163), nome de usuário e senha da VPN e a chave pré-compartilhada fornecida pelo seu provedor de VPN.

Se o seu provedor de VPN também fornecer o IP do túnel que se vincula à conta, você pode habilitar oUsar IP de túnel personalizadoopção.

 

OpenVPN

Clique emNavegadorpara importar o arquivo de configuração fornecido pelo seu provedor de VPN.

 

 

• WireGuard VPN

 

Clique emNavegadorpara importar o arquivo de configuração fornecido pelo seu provedor de VPN.

OInterfaceeParserá sincronizado automaticamente com o provedor de VPNArquivo CONF.

 

 

 

• Escravo ZeroTier

Digite oID da rede ZeroTierePortalfornecido pelo ZeroTier Master. O Gateway pode ser encontrado na seção "Status da VPN".

 

 

Artigo relacionado: Como conectar remotamente o roteador Cudy via Zerotier? - Cudy Home

Voltar para o blog

139 comentários

M3600 V1.0 | FW: 2.3.15-20250829-114714
System Status→ Devices→VPN is not enabling or disabling anything.
VPN is used by all devices every time. In other words filtering is not working. Good Job!!

Georgios Danilopoulos

@Уважаемый Дмитрий,
К сожалению, в настоящее время у нас нет таких планов.

“Добрый день. Подскажите:

1. Планируется ли добавление VPN протокола AmneziaWG на ваши роутеры.
2. Планируется ли введение более “гибких” настроек VPN (например, фильтры по MAC, расписание работы и тд).
3. Планируется ли добавление возможности настройки Proxy.
Спасибо."

Support

Добрый день. Подскажите:

1. Планируется ли добавление VPN протокола AmneziaWG на ваши роутеры.
2. Планируется ли введение более “гибких” настроек VPN (например, фильтры по MAC, расписание работы и тд).
3. Планируется ли добавление возможности настройки Proxy.

Спасибо.

Дмитрий

Hopefully you’ve received the requested screenshots etc. by mail a week ago regarding “WR3000E FW 2.4.7 doesn’t auto-reconnect dropped WireGuard and may leak IP despite VPN kill switch (in WISP at least)”. If you need any further information, please let me know.

TEN

@Dear Martin,
You need to set routing rules on the VPN server. The target is the LAN subnet of LT12, The next hop is the VPN tunnel IP address. You can have a try.

Is the VPN Server set on a Cudy router? If yes, you can set the remote subnet when creating wireguard config.

“I have a configuration where I’m running a WireGuard server, and I connect to it as a client using an LT12 router.

The tunnel is established, the handshake is exchanged, and “data is being transferred.”

I even managed to route all LAN traffic through the WireGuard VPS server’s WAN.

I can successfully ping the WireGuard server (data is going properly do Lt12, i did tcp dump)

However, for some reason, I’m unable to reach the WireGuard client on the LT12 from the VPS server.
I’ve tried many things — I have the exact same configuration on another client, and it works.
In the VPN settings, I also have the Site-to-Site option enabled. Should I change something in the routing?

What I want is a setup where I can access both the WireGuard server and Client B (on a laptop that’s also a WireGuard client)."

Support

Deixe um comentário