S2S WireGuard VPN - Access Main Node Subnet without NAT (only routes) possible?

I’ve this S2S Setup

It’s working and it’s OK. The Main Node is Part of an existing network that provides an existing gateway (

My Problem is that I want to access from Node1 to the Main Node Network.

  • Ping from (client of the Node1 - Net) to → OK
  • Ping from (client of the Node1 - Net) to → Not Working
  • Ping from (client of the Node1 - Net) to (Client what is routed trough the → Not Working

So I played around with the Firewall & Forwarding Rules and got a way it’s working:

[Image in the Next Post because of new User Restrictions]

So I can easily ping:

  • Ping from (client of the Node1 - Net) to
  • Ping from (client of the Node1 - Net) to (Client what is routed trough the

But my Problem is that NAT (Masquerading) is applied. Some Devices within the send UDP packages and cannot deal with NAT because of a special Protocol communication.

So my question is:

  • Do I need to activate Masquerading (NAT) to can access client’s on the LAN-Side?

I also detected that a ping from the wg1 interface to the or IP only succeeds when enabling Masquerading, otherwise not (from the Main Node).

Do you have any suggestions for me if this can be achieved with traditional routes?

For test reasons I put the firewall for all targets on accept - the other settings are nearly default GL-iNet OpenWrt Installation.

What do you recommend?

Thank you

[Image in the Next Post because of new User Restrictions]

1 Like

My issue was that the remote-router on has to add the static route to the Networks

  • from the Wireguard Tunnel Network
  • from the Node1 Network


What I detected now is that the S2S-Setup uses NAT & Masquerading within the VPN-Tunnel.
So my question is:

  • Is it possible to disable NAT on the Tunnel? If I comment this out in the init-script or in the gl_s2s files would this be overwritten if I change the configuration on goodcloud? What does goodcloud changes on the device and how?

I I continue using NAT, then It’s needed to add port-forwarding rules on the Tunnel Network ( For example if the Node1 Tunnel IP Address is, then the NAT-IP-Address is, and I need to create a UDP Port forwarding from to Is this possible? How? I saw only the wan interface as a source from port-forwardings…

The Reason why I care about nat is because I’ve a IOT Device behind the Node 1, what needs to communicate with another IOT Device behind the Main Node Network and does not work well with NAT.

maybe you can use openvpn in bridge mode?

use TAP as protocol and all the clients will be bridged to the server.

I’d like to use the benefits of the S2S configuration, like auto-provisioning and also state-monitoring within goodcloud.

So this is all fine, just the possibility to disable NAT within the S2S tunnel…