How to configure WG s-2-s to use device IP address vs WG tunnel IP Address?
-
I setup a Wireguard s-2-s tunnel using the netgate documentation to replace an ipsec tunnel.
Site A:
LAN: 10.0.80.0/24
WG Tunnel: 172.16.0.1Site B:
LAN: 192.168.100.0/24
WG Tunnel: 172.16.0.2When I access a resource over the VPN, instead of seeing the LAN net IP of the device in use, I see the WG Tunnel.
eg. 10.0.80.56 ssh -> 192.168.100.30. last/who/etc. show 172.16.0.1 in the log vs what I was expecting to see as 10.0.80.56The same is true testing from 192.168.100.* to 10.0.80.*
Is there a way to configure this so that the original source IP is used instead of the Tunnel IP?
-
This looks like it will solve my issue. I'll update after I've had a chance to try it out.