2
2
20ivs2022-04-21 07:41:40
Mikrotik
20ivs, 2022-04-21 07:41:40

How to forward all traffic from one of the external IPs to another device within the network?

Good afternoon, dear experts!
Tell me, please, what are the options for such a task:
There is a Microt with several external IPs. You need to redirect all traffic from one of them to another device on the network, preferably without IP spoofing.
Tried like this:

ip firewall/nat
chain=dstnat action=dst-nat to-addresses=192.168.1.1 to-ports=443 protocol=tcp dst-address=ХХХ.ХХХ.ХХХ.ХХХ in-interface-list=INET dst-port=443 log=no log-prefix=""

those. this is a simple dst-nat that replaces addresses.
What are the solutions without dst-nat?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hint000, 2022-04-21
@20ivs

What are the solutions without dst-nat?
Give this external address to the end device and place it in the bridge with Mikrotik's WAN interface. This is if it does not bother that the device will be a "naked aphedron" sticking out directly on the Internet.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question