Hello! I have WG server with this config:

[Interface]
Address = 10.0.1.1/24
ListenPort = 51821
PrivateKey = [REDACTED]

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.1.2/32

When I try to ping I am getting this errors:

PING 10.0.1.2 (10.0.1.2) 56(84) bytes of data.
From 10.0.1.1 icmp_seq=1 Destination Host Unreachable
ping: sendmsg: Destination address required
From 10.0.1.1 icmp_seq=2 Destination Host Unreachable
ping: sendmsg: Destination address required
From 10.0.1.1 icmp_seq=3 Destination Host Unreachable
ping: sendmsg: Destination address required

How to fix it? This is nopt server connection issue otherwise I just wouldn’t receive ping responses.

  • Max-P@lemmy.max-p.me
    link
    fedilink
    arrow-up
    4
    ·
    13 hours ago

    Yeah, and you’re pinging from server to client with no client connected. Ping from the client first to open the connection, or set keep alives on the client.