Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Configuration vpn wireguard

    Scheduled Pinned Locked Moved WireGuard
    wireguard
    1 Posts 1 Posters 450 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fnava92
      last edited by

      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 = 25

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

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.