Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kharloss/b18d9f9cd7a328749b3036110fded451 to your computer and use it in GitHub Desktop.
Save kharloss/b18d9f9cd7a328749b3036110fded451 to your computer and use it in GitHub Desktop.
Mikrotik Hairpin suggestion from drmessano
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