FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

11943 questions

14214 answers

22417 comments

35396 members

0 votes
699 views 0 comments
by
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

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
Hello,

you need to use NETMAP target in iptables.

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