Community discussions

 
User avatar
sjoram
Member Candidate
Member Candidate
Topic Author
Posts: 117
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
Home user, working in IT. Home network is my lab.
ISP: Uno Communications
Hardware:
2x RB750Gr3
Draytek Vigor 120v2 ADSL2+ Annex M
Draytek Vigor 130 FTTC (VDSL)
 
AlexS
Member Candidate
Member Candidate
Posts: 258
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: 117
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.
Home user, working in IT. Home network is my lab.
ISP: Uno Communications
Hardware:
2x RB750Gr3
Draytek Vigor 120v2 ADSL2+ Annex M
Draytek Vigor 130 FTTC (VDSL)

Who is online

Users browsing this forum: No registered users and 17 guests