Community discussions

MikroTik App
 
User avatar
sjoram
Member Candidate
Member Candidate
Topic Author
Posts: 187
Joined: Sun Feb 10, 2013 8:47 pm
Location: Essex, UK

Hairpin NAT - Problem configuring

Sat Jul 19, 2014 1:23 pm

Trying to configure Hairpin NAT and I can't make it work.

I need clients on 10.0.0.0/16 (VLAN 10) to be able to access the services as per the dstnat rules.
Other VLANs and external connections can work the dstnat rules fine, it's just clients on the same VLAN/subnet as the server they are accessing.

Image
 
AlexS
Member Candidate
Member Candidate
Posts: 272
Joined: Thu Oct 10, 2013 7:21 am

Re: Hairpin NAT - Problem configuring

Sun Jul 20, 2014 1:13 pm

If its on the same vlan, you need to do a src nat as well, other wise the dst server replies directly to the original server and thus the packet doesn't get un natted !
 
User avatar
sjoram
Member Candidate
Member Candidate
Topic Author
Posts: 187
Joined: Sun Feb 10, 2013 8:47 pm
Location: Essex, UK

Re: Hairpin NAT - Problem configuring

Sun Jul 20, 2014 5:06 pm

Thanks, I re-read the wiki article yet again and the srcnat stuff finally clicked in my head.
I've configured & working.

Who is online

Users browsing this forum: Majestic-12 [Bot], nuwang13 and 53 guests