Community discussions

MikroTik App
 
bastaramus
just joined
Topic Author
Posts: 1
Joined: Fri Mar 29, 2013 1:09 pm

NAT loopback for port mappings with in-interface=wan

Fri Mar 29, 2013 1:34 pm

Hello!
Need your help.
I have a lot of port mappings in office as:

3 ;;; vpn
chain=dstnat action=dst-nat to-addresses=192.168.10.101 to-ports=1723
protocol=tcp in-interface=wan1 dst-port=1723

4 ;;; www
chain=dstnat action=dst-nat to-addresses=192.168.10.102 to-ports=8080
protocol=tcp in-interface=wan1 dst-port=8080

wan1 is external interface. I use dynDNS and port mappings work when I go to the link <DNS name>:<some port> for example from home. But its not work in local net. I cant go to the link <DNS name>:<some port> ( <global ip>:<port> too) from office because used lan port and I have mappings with in-interface=wan1, no with dst-address (my global ip can changed).
Need some as Hairpin NAT (NAT loopback) and mappings with in-interface=wan1 must work.
Thanks for your help
 
markmcn
Member Candidate
Member Candidate
Posts: 121
Joined: Wed Mar 03, 2010 2:15 am

Re: NAT loopback for port mappings with in-interface=wan

Sat Mar 30, 2013 12:59 am

Hi
This should help you out with the Hairpin Nat
http://wiki.mikrotik.com/wiki/Hairpin_NAT

Who is online

Users browsing this forum: anav, haedertowfeq, Hemhems, zosoft and 58 guests