Posted: Sat Sep 28, 2019 9:05 Post subject: NAT Portforwarding loopback issue
Hi,
I cannot get NAT portforwarding loopback (hairpin) to work. Portforwarding from the WAN side works as expected. But not from the LAN side.
I have looked through the forum to find answers, but have not found anything that works for me.
I previously ran r39654 on my router, and have tried upgrading to r41174(current running), but am getting the same result.
My router and details are below with whatever I thought to be relivant. I would really appreciate some guidance with this.
Thanks in advance.
Router Name ROUTER
Router Model Asus RT-AC5300
Firmware Version DD-WRT v3.0-r41174 std (09/26/19)
Kernel Version Linux 4.4.194 #1510 SMP Thu Sep 26 11:16:21 +04 2019 armv7l
MAC Address 04:92:26:69:XX:XX
Hostname router
WAN Domain Name wan
LAN Domain Name lan
Current Time Sat, 28 Sep 2019 10:56:05
Uptime 1:43
A better way is to use a local dns server (dnsmasq) that resolves the host to the private IP for the LAN.
Thanks, I can see that would work (I am using dnsmasq as a DNS server), but the WAN IP address is from DDNS (no-ip). If I need to access the service while I am not on the LAN, how would this help me ?
yourhost.no-ip.com will resolve to 192.168.1.8 while on the LAN, but to the public IP by the public DNS server while not on the LAN.
Thanks, that works. I was concerned that it would intefere with the DDNS process but does not. I presume that is due to the external IP check. The only problem now is that now I cannot obtain the external IP address by pinging from the LAN, but I guess you can't have everything
Hi guys - I'm trying to solve for a similar issue with NAT loopback and can't seem to get it to work. For the solution referenced here:
Code:
host-record=yourhost.no-ip.com,192.168.1.8
Was that added under Services/Additional Dnsmasq options? I updated accordingly to reference my DDNS domain name and correct internal IP address for the machine I want to point to, but it did not seem to work. I do have Dnsmasq enabled, the router address set as the Local DNS server in Setup, and the Filter WAN NAT Redirection box unchecked.
For reference, this is running on a Archer C7 v2 with r45993.
Hi guys - I'm trying to solve for a similar issue with NAT loopback and can't seem to get it to work. For the solution referenced here:
Code:
host-record=yourhost.no-ip.com,192.168.1.8
Was that added under Services/Additional Dnsmasq options? I updated accordingly to reference my DDNS domain name and correct internal IP address for the machine I want to point to, but it did not seem to work. I do have Dnsmasq enabled, the router address set as the Local DNS server in Setup, and the Filter WAN NAT Redirection box unchecked.
For reference, this is running on a Archer C7 v2 with r45993.
Any help would be greatly appreciated.
Thanks...
Jason
Remember, a lot has changed since this thread was started. DNSMasq is NOT necessarily being accessed when you assume it is. Many browsers are now referencing their own preferred DNS servers, by default! Plus we have DoT/DoH solutions too.
First reset your nvram, then reconfigure, if issue persists, then provide screenshots that detail your full setup without omitting any relevant data (feel free to mask any sensitive information out).
Then paste the result (masking sensitive information out) into a text file and attach to your reply along with screenshots, do not post logs inline on reply, it makes the thread hard to follow/read through.
Without any of such information, me too reports, are indeed not actionable and invalid.
This is if you want meaningful help.