A
A
Alexander2020-03-10 13:30:25
Mikrotik
Alexander, 2020-03-10 13:30:25

Why doesn't port forwarding work in mikrotik from the local network?

Set up port forwarding on mikrotik router. Requests are only successful from devices outside the network, not from local devices.
NAT config:
chain=dstnat action=dst-nat to-addresses=192.168.88.227 to-ports=22 protocol=tcp dst-address-type="" dst-port=11122 log=no log-prefix=""
chain= srcnat action=masquerade out-interface-list=WAN log=no log-prefix="" ipsec-policy=out,none

Why is this happening?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
W
Wexter, 2020-03-10
@LordGuard

https://wiki.mikrotik.com/wiki/Hairpin_NAT

I
Internet, 2020-03-11
@geniuscomposervsevolodpus

Screenshots in the studio!

G
Georgy Goshin, 2020-03-11
@Goshin

masquerade the rule to do on the host to which the ports are being forwarded

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question