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

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

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).

Martin

Dear TEN, Yes, there is a @. samcudy.com.

“Is an @ supposed to go between your name and your company’s?
Will be happy to provide you with all relevant (redacted) screenshots and logs.
Cannot currently record or live-stream video though, as I am not where the router is, and it is on low bandwidth even when (intermittently) online.”

Support

Is an @ supposed to go between your name and your company’s?
Will be happy to provide you with all relevant (redacted) screenshots and logs.
Cannot currently record or live-stream video though, as I am not where the router is, and it is on low bandwidth even when (intermittently) online.

TEN

Lascia un commento