how to connect to two subnet with the same range

Started by Gautier, December 09, 2025, 01:09:50 PM

Previous topic - Next topic
Hello,

I really don't have idea how to do but I am sur it's possible.

I have my router on OPNsense connected via wireguard VPN to 2 servers.
both are in the same ip range: 192.168.1.0/24
Today with route and gateway I can access on one subnet without problem.

I would like if I want ping the device 192.168.1.123 on gw1 I use this address 192.168.2.123 and for the same device on gw2 192.168.3.123.
my subnet is 10.3.x.x/24

Any idea?

The traffic can be natted (masqeraded) by BINAT rules, but this cannot be done on your site. Nat has to happen on the remote sites.

Ok,
He won't be posssible. I will push to change subnet.

Thanks