S
S
serg5682019-12-05 08:16:42
network hardware
serg568, 2019-12-05 08:16:42

How to convert incoming ip addresses to microtik?

Good afternoon!
There was a question with incoming ip-addresses in microtik.
The bottom line is this:
There is L2TP, there are a lot of ip-addresses, everything goes through microtik RB2011uiAS-rm. It is necessary to convert all incoming ip-addresses (format 192.168.10.5; 192.168.113.24; 172.10.10.15; 10.15.0.3, etc.) from different networks into a network of the form 10.161.44.0/24. Please tell me the appropriate literature or detailed instructions for implementation.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
Wexter, 2019-12-05
@Wexter

src-nat ?

D
Drill, 2019-12-05
@Drill

Let's say ether5 address=10.161.44.1

/ip firewall address-list add list=for_mask address=192.168.10.0/24
/ip firewall address-list add list=for_mask address=192.168.113.0/24
/ip firewall address-list add list=for_mask address=10.15.0.0/24
и т.д.
/ip firewall nat add chain=srcnat src-address-list=for_mask action=src-nat to-addresses=10.161.44.1 out-interface=ether5

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question