I'm using OpenWrt White Russian with X-Wrt Extensions 0.9 (Webif2 r2687) on my Linksys WRT54GL v1.1.
miniupnp is installed but uTorrent is complaining that there is no incoming connections. Port check (http://www.utorrent.com/testport.php?port=<p>) also fails.
But in Windows, under the Gateway Properties, I can see the port mappings, they are correct.
uTorrent log shows me:
[21:52:57] UPnP: Discovered host: http://192.168.<x>.1:5000/rootDesc.xml
[21:52:57] UPnP: Discovered new device: http://192.168.<x>.1:5000/ctl/IPConn
[21:52:57] UPnP: Mapped TCP port <p> -> 192.168.<x>.<x>:<p>
[21:52:57] UPnP: Getting external IP
[21:52:57] UPnP: Got external IP: <y>.<y>.<y>.<y>
Finally, connecting to the router:
root@OpenWrt:~$ iptables --list
Chain INPUT (policy DROP)
target prot opt source destination
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP tcp -- anywhere anywhere tcp option=!2 flags:SYN/SYN
input_rule all -- anywhere anywhere
input_wan all -- anywhere anywhere
LAN_ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere
ACCEPT gre -- anywhere anywhere
REJECT tcp -- anywhere anywhere reject-with tcp-reset
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
Chain FORWARD (policy DROP)
target prot opt source destination
DROP all -- anywhere anywhere state INVALID
TCPMSS tcp -- anywhere anywhere tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
forwarding_rule all -- anywhere anywhere
forwarding_wan all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
MINIUPNPD all -- anywhere anywhere
Chain LAN_ACCEPT (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
RETURN all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
Chain MINIUPNPD (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere 192.168.<x>.<x> tcp dpt:<p> # <-- this is it
ACCEPT tcp -- anywhere 192.168.<x>.<x> tcp dpt:<p1> # rest are irrelevant, may be msn
ACCEPT tcp -- anywhere 192.168.<x>.<x> tcp dpt:<p2>
ACCEPT tcp -- anywhere 192.168.<x>.<x> tcp dpt:<p3>
ACCEPT tcp -- anywhere 192.168.<x>.<x> tcp dpt:<p4>
Chain OUTPUT (policy DROP)
target prot opt source destination
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
output_rule all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
REJECT tcp -- anywhere anywhere reject-with tcp-reset
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
Chain forwarding_rule (1 references)
target prot opt source destination
Chain forwarding_wan (1 references)
target prot opt source destination
Chain input_rule (1 references)
target prot opt source destination
Chain input_wan (1 references)
target prot opt source destination
Chain output_rule (1 references)
target prot opt source destination
root@OpenWrt:~$
The port is truely closed, can't connected to it.
Can anyone tell me how to get it work? (Shall I get provide more info? What and how?)