Configuration vpn wireguard
-
I have a wireguard vpn configuration on my router, the ports are open and the server configuration I think is correct, however, when I want to connect a client, it only shows me this error:
[TUN] [client1] Handshake for peer 1 (mi ip:51820) did not complete after 5 seconds, retrying (try 2)
It is the only error that reproduces
Next, I put the configuration of the client and server:Client configuration
[Interface]
Private Key 1
Address = 10.0.0.2/32
DNS = 64.6.64.6[Peer]
Public Key 1
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = 189.141.56.60:51820
PersistentKeepalive = 25Server configuration
config servers
option local_ip '10.0.0.1'
option local_port '51820'
option local_ipv6 'fd00:db8:0:1'
option private key 2
option public key 1
option access 'ACCEPT'
option enable '1'config peers 'wg_peer_5088'
option name 'wir'
option client_key
option private_key
option client_ip '10.0.0.2/32'
option public key 2- The server configuration is generated automatically because the router is compatible with wireguard, only the client is being configured*
If somebody please, has so kind to help to resolve this issues i will appreciate.