miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

upnpc works on any box besides igd box

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> NAT/UPnP
View previous topic :: View next topic  
Author Message
eddieparker



Joined: 05 Jan 2013
Posts: 2

PostPosted: Sat Jan 05, 2013 6:34 am    Post subject: upnpc works on any box besides igd box Reply with quote

Hello:

I'm running miniupnpd on my Gentoo box, which serves as my gateway device.

If I run the upnpc command on my windows box, I get the following output (as expected): [1]

If I run the same thing from my gentoo box, I get, after a lengthy timeout: [2]

I'm not entirely sure where I've gone wrong. I'm installing wireshark now and will try to sniff that out, my first thoughts are that my firewall may be blocking it somehow?

Anyhow, I'll post up any configuration files that may help the good Samaritans among you, but I'll post back if wireshark leads me to see anything too.

Configuration files [3].

Note: Unfortunately the board won't let me post links until I do a post, so I'm using the next reply as my place to post links and data that contains links.
Back to top
View user's profile Send private message
eddieparker



Joined: 05 Jan 2013
Posts: 2

PostPosted: Sat Jan 05, 2013 6:35 am    Post subject: Reply with quote

Footnotes from my previous topic - now with links!

[1] Output on my windows box:

Code:
D:\Test>upnpc-static.exe -s
upnpc : miniupnpc library test client. (c) 2006-2012 Thomas Bernard
Go to http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
for more information.
List of UPNP devices found on the network :
 desc: http://10.0.0.10:36147/rootDesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://10.0.0.10:36147/ctl/IPConn
Local LAN ip address : 10.0.0.127
Connection Type : IP_Routed
Status : Connected, uptime=5290405s, LastConnectionError : ERROR_NONE
  Time started : Sun Nov 04 16:48:59 2012
MaxBitRateDown : 10000000 bps (10.0 Mbps)   MaxBitRateUp 1000000 bps (1.0 Mbps)
ExternalIPAddress = 50.46.205.244
Bytes:   Sent: 4294967295       Recv: 4294967295
Packets: Sent: 987457378        Recv: 1339067426


[2] Output on my gentoo box, which house my IGD.
Code:

megatron ~ # upnpc -s
upnpc : miniupnpc library test client. (c) 2006-2011 Thomas Bernard
Go to http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
for more information.
No IGD UPnP Device found on the network !


[3] Configuration files:
- miniupnpd.conf: http://bpaste.net/show/68266/
- iptables -L output: http://bpaste.net/show/68267/
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Mon Jan 07, 2013 11:06 am    Post subject: Reply with quote

There are several network interfaces on your Gentoo box.
upnpc is picking the wrong one.
Code:
# upnpc -m 10.0.0.1 -s

should work
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> NAT/UPnP All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.