A
A
Alienable82021-07-15 13:58:33
linux
Alienable8, 2021-07-15 13:58:33

Why are pages loading forever on VPN WireGuard?

Hello, I want to install my VPN via WireGuard, I have read a million different installation articles, including official manuals, reviewed a bunch of videos and have not found an answer to my question anywhere.
When you try to access any site with VPN enabled, the page takes a long time to load, then it gives the error "The request timed out".

My config on the server:

[Interface]
Address = 10.8.0.1/24
ListenPort = 50001
PrivateKey = ADGG*

[Peer]
PublicKey = EOkA*
AllowedIPs = 10.8.0.2/32


My client config:
[Interface]
Address = 10.8.0.2/32
PrivateKey = EOkA*
DNS = 1.1.1.1

[Peer]
PublicKey = uHgU*
Endpoint = 192.168.30.133:50001
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 21

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
awsswa159, 2021-07-15
@awsswa159

To go through vpn you need: configured ip rule
routing and configured nat

P
Papa, 2021-07-15
Stifflera @PapaStifflera

On vskidku: the interface and peers in different subnets, for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question