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.
0 votes
900 views 0 comments
by anonymous
I have set up a second network on my RUT955.
Let's say:
1st network 192.168.1.0 /27
2. network 192.168.2.0 /27

Now i want to map the second net on the first

192.168.2.1 -> 192.168.1.1

192.168.2.2 -> 192.168.1.2

192.168.2.3 -> 192.168.1.3

...

How is this possible? Which settings do I have to make?

The background to all this is:
I have an IPsec tunnel to the 192.168.2.0 network and the requests to the network should be forwarded to the 192.168.1.0 network

2 Answers

0 votes
by anonymous

Hello.

You can check the Traffic rules, where you can assign any source communication to any destination communication and other kind of rules.

https://wiki.teltonika.lt/view/RUT955_Firewall#Traffic_Rules

0 votes
by anonymous
Hello,

you need to use NETMAP target in iptables.

https://www.frozentux.net/iptables-tutorial/chunkyhtml/x4492.html