Ask a question

2286 questions

2781 answers

3510 comments

1931 members

Ask a question
0 votes
73 views
asked in Networking 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
answered 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
answered by
Hello,

you need to use NETMAP target in iptables.

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