Rutx50 wireguard server setup issue

Hello,

I want to setup wireguard on rutx50 where the router should act as a server and i connected a linux machine as a client to test it.

firstly, I will explain my setup.

1.I created a duckdns domain and added it to rutx dynamic dns session.
2. I setup wireguard configuration in the portal, along with a peer which is my linux machine. the interface contains the port 51820. On the peer side i allowed 10.20.20.11(client). i also enabled route allowed Ips. i did put persistant keep alive 25. the configuration is below.
root@RUTX50:~# wg showconf rutx1
[Interface]
ListenPort = 51820
PrivateKey = uLCk--------------------------

[Peer]
PublicKey = m2jDL/a8fI99smWtlZ75T+qVTUcU/8dE4IGc0L3GfQ4=
AllowedIPs = 10.20.20.11/32
PersistentKeepalive = 25
3. On the client setup side the conf looks like this.
root@ubuntu-kamag:/etc/wireguard# wg showconf wg1
[Interface]
ListenPort = 47346
PrivateKey = kHzIWP---------------------------------

[Peer]
PublicKey = HiKKfcQw/EfvJCd/cEAWRpLEl3CplIPFql+l832KfmQ=
AllowedIPs = 10.20.20.1/32
Endpoint = 94.125.79.122:51820
PersistentKeepalive = 25

  1. with this setup i see no handshake but i can see the public ip being properly getting assigned to the client side with the help of duckdns host name. below is the result
    root@ubuntu-kamag:/etc/wireguard# wg
    interface: wg1
    public key: m2jDL/a8fI99smWtlZ75T+qVTUcU/8dE4IGc0L3GfQ4=
    private key: (hidden)
    listening port: 47346

peer: HiKKfcQw/EfvJCd/cEAWRpLEl3CplIPFql+l832KfmQ=
endpoint: 94.125.-.-:51820
allowed ips: 10.20.20.1/32
transfer: 0 B received, 34.69 KiB sent
persistent keepalive: every 25 seconds

what is the catch and how can i establish a proper wireguard connection betweeen rutx50(server) and ubuntu machine(client)?

Hi yoga_chaitanya,

Welcome to Teltonika Networks Community!

If latest handshake is not seen, then try pinging the server’s Public IP (the one specified in the Endpoint Host parameter) and/or server’s VPN IP (in this example it would be the 10.20.20.1) from each peer.

We also have an article with detailed instructions for Wireguard Configuration.

Let me know if this helps.

Regards,

This topic was automatically closed after 15 days. New replies are no longer allowed.