subscribe to our Youtube
First: Sorry for my not native English.
I want to translate the complete IP range of several openvpn clients with the same subnet (192.168.0.0/24) to reach these subnets from the server via e.g. 192.168.101.0/24, 192.168.102/24 etc. I thought SNAT will bring the solution, but I can not even get a ping from the Rut230's UI to the underlying subnet over the "snat'ed" IP.
Can anyone tell me what to do to get this working?
Thanks in advance!
Problem is solved.
i used following iptables command on "userdefined rules" to <D>NAT (map) clients lan to 192.168.101.0/24:
iptables -t nat -A PREROUTING -i tun_c -d 192.168.101.0/24 -j NETMAP --to 192.168.0.0/24
hope this helps all others.