Ticket #427 (closed defect: fixed)
UPnP fails to open ports on hardware router
|Reported by:||killyourtv||Owned by:|
In the three months that I've been using I2P I have never seen I2P successfully opening ports via UPnP. Recently I switched my (hardware) router to one running DD-WRT from an old unflashable Linksys WRT54G. Since other UPnP-enabled software can open the ports (but I2P cannot) on both hardware routers, I'm opening this bug.
Old router's firmware: (some proprietary Linksys crap running on a WRT54G rev. 7, can hook it up to get more specific version info if needed)
New router's firmware: DD-WRT v24SP2-EU-US (08/19/10) std - build 14998
I2P version: 0.8.4-0 Java version: Sun Microsystems Inc. 1.6.0_22 (Java(TM) SE Runtime Environment 1.6.0_22-b04) Platform: Linux amd64 2.6.37 Processor: uninitialized (athlon64) Jbigi: Locally optimized native BigInteger library loaded from the library path Encoding: UTF-8
UPnP Status Found Device: $ROUTERHOSTNAME * Service: Layer 3 Forwarding o Default Connection Service: uuid:$UUID:WANConnectionDevice:1,urn:upnp-org:serviceId:WANIPConn1 * Subdevice: WANDevice o Service: WAN Common Interface Config + Status: Up + Type: Ethernet + Upstream: 100000000 + Downstream: 100000000 o Subdevice: WAN Connection Device + Service: WAN IP Connection # Status: Connected # Type: IP_Routed # External IP: $MYIP * Subdevice: LANDevice o Service: ~~~~~~~ urn:schemas-upnp-org:service:LANHostConfigManagement:1 The current external IP address reported by UPnP is $MYIP TCP port $MYPORT for NTCP has not been forwarded by UPnP. UDP port $MYPORT for SSU has not been forwarded by UPnP.
Note: There is nothing about UPnP in neither wrapper.log nor log-router-?.txt
Apparently I'm not alone with the failure. Earlier today on IRC in #i2phelp:
<dr|z3d> got your i2p port open?
<dr|z3d> Network: Ok or Network: Firewalled?
<dr|z3d> Network: Ok wins prizes. And extra perf.
<dr|z3d> Read the section on the homepage re port fwd'ing.
<E-> no as soon as you said that i remembered reading it before
<E-> upnp failed me
<dr|z3d> manual port forwarding and static ip allocation on your modem/router then.