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

141 comentários

@Andy,
Please enable the VPN policy and set it to VPN Kill Switch. Then the problem will be fixed.
“Hi Cudy support,

I have a Cudy Travel Router TR1200 in a WISP operation mode and configured a Wireguard VPN client. In the devices list the VPN option is enabled and also the VPN connection is active. But somehow my traffic is not routed over the VPN because I still get my home ip as my ip-number on a site as whatsmyip. What could be wrong in the setup or is the VPN not supported on a WISP operation mode?"

Support Cudy

Hi Cudy support,

I have a Cudy Travel Router TR1200 in a WISP operation mode and configured a Wireguard VPN client. In the devices list the VPN option is enabled and also the VPN connection is active. But somehow my traffic is not routed over the VPN because I still get my home ip as my ip-number on a site as whatsmyip. What could be wrong in the setup or is the VPN not supported on a WISP operation mode?

Andy

@Dear Lukas,
Destination: subnet 192.168.10.0 mask 255.255.255.0 Next hop is 198.18.5.4.

“wireguard server has these static routing settings options. Destination subnet mask metric what to forward from router CUDY? destination is 192.168.10.0 or vpn address 198.18.5.4 subnet mask 255.255.255.0 metric 100”

Support Cudy

wireguard server has these static routing settings options. Destination subnet mask metric what to forward from router CUDY? destination is 192.168.10.0 or vpn address 198.18.5.4 subnet mask 255.255.255.0 metric 100

Lukas

@Dear Lukas,

You must add a static rule on the VPN server. The destination is the LAN subnet of the cudy AC1200, the gateway is the tunnel IP address of the cudy AC1200, the interface is the VPN interface, Then try again.

“I bought a cudy ac1200 with wireguard. I generated a config file on the server and uploaded it to the cudy router. The problem is that from location A I can’t ping or connect to location B (cudy router client wireguard), but in the opposite direction it works fine.”

Support Cudy

Deixe um comentário