Reply

R7800 X4S Hairpin routing with uPnP not functioning correctly

z4ce
Follower

R7800 X4S Hairpin routing with uPnP not functioning correctly

Use case: IP Cam configuration on my phone should work regardless of being local to network or remote.

Expected: Connecting to a uPnP mapped port should work the same regardless of being on the local LAN or outside the network.

Outcome: Connecting from outside the LAN is successful, connecting from inside the LAN is not successful. That is, Hairpin routing is not working.

Device: Nighthawk R7800 X4S (Firmware version V1.0.2.12)

Desired action: Netgear to patch firmware to correctly create iptable rules for uPnP port forwards that support hairpin routing.

 

Discussion:

Interestingly, mapping a port using the Port Forwarding page does result in correct rules. Obviously the behavior between manually mapping a port and using uPnP should be the same. The uPnP rule does work fine if you come in from the internet.

 

LAN Via uPNP:

 

$ wget host.ddns.net:55566
--2016-11-24 13:44:43--  http://host.ddns.net:55566/
Resolving host.ddns.net... 71.81.99.99
Connecting to z4ce.ddns.net|71.81.99.99|:55566... failed: Connection refused.

LAN Via port mapping:

 

$ wget host.ddns.net:55577
--2016-11-24 13:50:26--  http://host.ddns.net:55577/
Resolving host.ddns.net... 71.81.99.99
Connecting to host.ddns.net|71.81.99.99|:55577... connected.
HTTP request sent, awaiting response... 200 OK

Internet Via uPNP

$ wget host.ddns.net:55566
--2016-11-24 13:52:56--  http://host.ddns.net:55566/
Resolving host.ddns.net... 71.81.99.99
Connecting to host.ddns.net|71.81.99.99|:55566... connected.
HTTP request sent, awaiting response... 200 OK


 

uPNPPort Mapping

Model: R7800|Nighthawk X4S AC2600 Wifi Router
Message 1 of 2
JamesGL
Master

Re: R7800 X4S Hairpin routing with uPnP not functioning correctly

Hi z4ce,

 

Is the IP cam UPnP compatible? What is the model number of the IP cam?

 

JamesGL
Community Team

Message 2 of 2
Top Contributors
Discussion stats
  • 1 reply
  • 1822 views
  • 1 kudo
  • 2 in conversation
Announcements