FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
+1 vote
799 views 0 comments
by anonymous

Hello,

I have an Ubuntu that has 2 peers connected to it because it has static public IP.

1 peer is a Windows and the other is a Teltonika RUT240. The tunnels are done correctly, but when pinging from Ubuntu I can ping Windows, but not Teltonika, from Teltonika I can't ping Ubuntu either. I have disabled the Teltonika firewall and I can't get a ping response either.

Ubuntu Wireguard settings:

[Interface]

Address = 192.168.237.1/24

PrivateKey = APGE82zF3

ListenPort = 51821

MTU = 1420

 

# BEGIN_PEER Win1

[Peer]

PublicKey = BZXewuI

AllowedIPs = 192.168.237.10/32

# END_PEER Win1

 

# BEGIN_PEER Teltonika

[Peer]

PublicKey = Jwgn8KTNK

AllowedIPs = 192.168.237.15/32

# END_PEER Teltonika

 

 

Windows Wireguard settings:

[Interface]

PrivateKey = SIVkvb

Address = 192.168.237.10/24

[Peer]

PublicKey = Mz1WQIJ

AllowedIPs = 192.168.0.0/16

Endpoint = xx.xx.xx.xx:51821

PersistentKeepalive = 20

Teltonika Wireguard settings:

    Attached Image:1 and 2

Evidence that the tunnel is correct:

    Attached Image:3

But it does ping Windows and not Teltonika

    Attached Image:4

it looks like something I have misconfigured in the Teltonika but I can't find what.

 

Thanks!!

1 Answer

0 votes
by anonymous
I think I found the solution, I put a routing of the VPN IP (in my case range 192.168.237.0/24) towards the Wireguard interface. I thought this did it automatically when setting up the VPN on Teltonika.
Best answer