11384 questions

13563 answers

21250 comments

31888 members

+1 vote
1,227 views 1 comments
by

Hello Community!

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!


Alex

1 Answer

+3 votes
by

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.

Best answer
by
Hi,

i have the same problem but i'm not understand where you find "USERDEFINED RULES"  on RUT 955

could you help me??

THX