Hi, I am trying to reach devices on the RUT’s LAN using wireguard VPN from my PC.
The RUT is on a mobile internet connection without public ip, so I utilize a third machine (a small VPS in a data center) with a public ip.
From my local PC (Windows 11), I want to reach devices connected to the RUT’s LAN. The RUT’s LAN port is setup to 192.168.0.50/24.
Devices on the RUT’s LAN are manually set to a static ip in the 192.168.0.0/24 range.
I have the wireguard setup up & running, I can ping the wireguard ip’s on net 10.0.98.0/24 back and forth.
I added 192.168.0.2/32 to the “Allowed IPs” in the wg.conf and the RUT and set the switch to enable routing.
But I just can’t get the routing going. No ping using an ip from the 192.168.0.0/24 range.
This is what I setup, I skipped the keys:
On “Sun” – machine with public ip, “wireguard-server”:
# Sun
[Interface]
Address = 10.0.98.1/24
ListenPort = 51826
# RUT
[Peer]
AllowedIPs = 10.0.98.2/32, 192.168.0.2/32
PersistentKeepalive = 25
# PC (Loewe)
[Peer]
AllowedIPs = 10.0.98.3/32, 192.168.0.2/32
PersistentKeepalive = 25
On “PC” – local Windows PC, wireguard-client 1 :
# PC (Loewe)
[Interface]
Address = 10.0.98.3/32
MTU = 1280
# Sun
[Peer]
Endpoint = <sun’s public ip>: 51826
AllowedIPs = 10.0.98.0/24, 192.168.0.2/32
PersistentKeepalive = 25
On “RUT241” , wireguard-client 2:
interface:
ip adress: = 10.0.98.2/32
Advanced:
Port 51826
peer Sun:
Endpoint = <sun’s public ip>
Allowed ip = 10.0.98.0/24, 192.168.0.2/32
Advanced:
Tunnel source: Any
Preshared key, Endpoint port 51826


