subscribe to our Youtube


12017 questions

14299 answers


35964 members

0 votes
255 views 0 comments


I have an handshake on Wireguard, but still not possible to ping server <-> client.

If I install same server on my Mac, its pinging fine. I also changed MTU to recommended `1380`, did add WAN to Wireguard in the firewall and tried to switch of the firewall completely. What more options do we have. 

My server wg is showing:

interface: wg0

  public key: XXXX

  private key: (hidden)

  listening port: 51820

peer: xxxxx

  endpoint: XX.XX.52.171:51820

  allowed ips: (none)

  latest handshake: 1 minute, 8 seconds ago

  transfer: 3.69 KiB received, 1.20 KiB sent

Then on server wg0.conf is set like:


PrivateKey = xxxx

Address =

MTU = 1380

PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE

ListenPort = 51820


PublicKey = xxxxx

AllowedIPs =

For Teltonika RUT950 settings are like: 

config interface 'SP'             

        option proto 'wireguard'     

        option disabled '0'          

        option private_key 'yyyy'

        option public_key 'cccc' 

        option listen_port '51820'                                       

        list addresses ''                                     

        option mtu '1380'                                                


config wireguard_SP 'DO'                                              

        option public_key 'xxxx' 

        option endpoint_host ''     

        option persistent_keepalive '25'                                 

        list allowed_ips ''                                     

        list allowed_ips '::/0'                                          

What other options do I have to get it running. Good to know I am always working on latest firmware (RUT9_R_00.07.01.4), and resetting modem to factory before setting up. Sometimes I succeed, but then I have the problem I don't have Internet on the modem. 

Some tips are very welcome, since I am stuck with this for some while now. 

I also have my troubleshoot files, so can always sent them if needed. 


1 Answer

0 votes


At first glance, your server has no allowed IPs:

  • allowed ips: (none)

Keep in mind, that, in order for the wireguard tunnel to work, both endpoints must be aware of any IPs, which may be routed via WG tunnel.

Also, in server config, there is a line:

  • AllowedIPs =

Try changing it to

Best regards,