FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
+1 vote
1,417 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