A
A
Alexander Kaplun2015-09-24 19:03:40
Computer networks
Alexander Kaplun, 2015-09-24 19:03:40

Mikrotik redirecting all traffic from one physical port to internal ip?

There is Mikrotik, you need to redirect everything that comes to port 6 to the internal address 10.0.2.10 and everything from this ip goes to ip 192.187.66.210 to send to the 6th port

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Valentin, 2015-09-24
@vvpoloskin

Perhaps destination nat will help you

A
Alexander Kaplun, 2015-09-24
@QuietusUA

3    ;;; MyPBXBeeline
      chain=dstnat action=dst-nat to-addresses=10.0.2.10 protocol=udp in-interface=ether6 log=yes log-prefix="MyPBXBeeline" 

 4    chain=dstnat action=dst-nat to-addresses=10.0.2.10 protocol=udp in-interface=ether6 log=yes log-prefix="MyPBXBeeline" 

 5    chain=srcnat action=src-nat to-addresses=192.187.66.210 protocol=udp dst-address=10.0.2.10 log=yes log-prefix="MyPBXBeeline"

but it doesn't work

A
Azazel PW, 2015-09-25
@azazelpw

I have a chain built like this to connect home from work
=======
chain=dstnat action=dst-nat to-addresses=%internal address% to-ports=22 protocol=tcp src-address=%address where it comes from connection% in-interface=%The external interface to which the connection comes% dst-port=22
=======
Example.
chain=dstnat action=dst-nat to-addresses=192.168.0.5 to-ports=22 protocol=tcp src-address=10.10.10.10 in-interface=pppoe-out1 dst-port=22

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question