Forked from kaihendry/gist:cb0aa9ac431e1f8f0bab51b3ce757793
Last active
October 17, 2019 11:33
-
-
Save kharloss/b18d9f9cd7a328749b3036110fded451 to your computer and use it in GitHub Desktop.
Mikrotik Hairpin suggestion from drmessano
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add action=masquerade chain=srcnat comment="Hairpin NAT" dst-address=192.168.11.0/24 src-address=192.168.11.0/24 | |
add action=dst-nat chain=dstnat comment="produse.trady.ro" dst-address=!192.168.11.1 \ | |
dst-address-type=local dst-port=14680 protocol=tcp to-addresses=192.168.11.41 \ | |
to-ports=80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment