Come posso impostare il client VPN per accedere a un server VPN remoto?

Un client VPN è un dispositivo terminale o un software utilizzato per stabilire una connessione sicura tra un utente e un server VPN.

 

Che cos'è la VPN?

VPN (Virtual Private Network) ti aiuta ad accedere alle risorse Internet in remoto, in modo sicuro e privato con la tecnologia di tunneling. La VPN crittografa le tue informazioni personali e nasconde il tuo indirizzo IP al pubblico quando usi Internet. Agli utenti della VPN sembrerà che i computer fossero direttamente collegati tra loro.

 

Topologia di rete comune:

 

 

Qui prendiamo WR2100 come dimostrazione.

 

Passaggio 1:  Apri un browser web e vai a http://cudy.net o http://192.168.10.1

Per i dettagli, fare riferimento a Come accedere all'interfaccia web di Cudy Router?

Passaggio 2: fai clic su Impostazioni generali->VPN e attiva VPN.

Regola predefinita: Consenti a tutti i dispositivi o Blocca a tutti i dispositivi di utilizzare la VPN.

Per specificare il dispositivo, fare clic su Stato del sistema- > Dispositivi->VPN per attivarlo o disattivarlo.

Da sito a sito: < /strong>Consenti ai dispositivi in ​​due siti di comunicare tra loro.

Politica VPN: 

Disabilita: nessuna impostazione aggiuntiva.

Kill switch VPN: Disattiva la connettività Internet quando si perde la connessione VPN.

Dominio: specifica quali domini passano attraverso la VPN e che non lo fanno

Sottorete remota: specifica quali sottoreti passano attraverso la VPN e quali no

Passaggio 3: Nella Protocollo , seleziona quello che ti serve e inserisci le informazioni sulla VPN fornite dal tuo provider VPN.

 

• VPN PPTP

Inserisci l'indirizzo del server VPN (ad esempio, 113.92.73.163) e il nome utente e la password VPN fornito dal tuo provider VPN.

 

• VPN L2TP

Inserisci l'indirizzo del server VPN (ad esempio 113.92.73.163), nome utente e password VPN e chiave precondivisa forniti dal tuo Fornitore VPN.

Se il tuo provider VPN ti fornisce anche l'IP del tunnel che si collega all'account, puoi abilitare Utilizza l'opzione IP tunnel personalizzato.

 

• OpenVPN < /span>

Fare clic su Browser per importare il file di configurazione fornito da il tuo provider VPN.

 

 

• WireGuard VPN

 

Fare clic su Browser per importare il file di configurazione fornito da il tuo provider VPN.

L'interfaccia e Peer si sincronizzerà automaticamente dal file CONF del tuo provider VPN.

 

 

 

• ZeroTier Slave

Digita ID rete ZeroTier e Gateway fornito da ZeroTier Master. Il gateway è disponibile nella parte Stato VPN.

 

 

Articolo correlato: Come connettere in remoto Cudy Router tramite Zerotier?-Cudy Home

Torna al blog

141 commenti

@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

Lascia un commento