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 

Protocol Invalid (UPNP_DeletePortMapping() returned : 714)

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation
View previous topic :: View next topic  
Author Message
henfri



Joined: 22 Jan 2016
Posts: 2
Location: Germany

PostPosted: Sat Jan 23, 2016 10:59 am    Post subject: Protocol Invalid (UPNP_DeletePortMapping() returned : 714) Reply with quote

Hello,
I am trying to forward port 80 to the host I am runing miniupnc on:

Code:
 upnpc -d 192.168.177.51 80 80 TCP
upnpc : miniupnpc library test client. (c) 2006-2011 Thomas Bernard
for more information.
List of UPNP devices found on the network :
 desc: 192.168.177.10:49000/igddesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

 desc: 192.168.177.1:49000/igddesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

 desc: 192.168.177.3:8088/desc.xml
 st: urn:ses-com:device:SatIPServer:1

Found valid IGD : 192.168.177.1:49000/igdupnp/control/WANIPConn1
Local LAN ip address : 192.168.177.3
protocol invalid
UPNP_DeletePortMapping() returned : 714


What does work is:
Code:

upnpc -r 80  TCP
upnpc : miniupnpc library test client. (c) 2006-2011 Thomas Bernard
List of UPNP devices found on the network :
 desc: 192.168.177.10:49000/igddesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

 desc:  192.168.177.1:49000/igddesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

 desc: 192.168.177.3:8088/desc.xml
 st: urn:ses-com:device:SatIPServer:1

Found valid IGD : 192.168.177.1:49000/igdupnp/control/WANIPConn1
Local LAN ip address : 192.168.177.3
ExternalIPAddress = 92.77.107.137
InternalIP:Port = 192.168.177.3:80
external 92.77.107.137:80 TCP is redirected to internal 192.168.177.3:80 (duration=0)


(I had to remove all http... due to forum restrictions)

This brings up two questions:
a) How can I control which of the upnp devices is used for the port forwarding?
b) why does the first command fail?

Regards,
Hendrik[/code][/i]
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1452

PostPosted: Sun Jan 24, 2016 4:09 pm    Post subject: Reply with quote

a) How can I control which of the upnp devices is used for the port forwarding?
You normaly don't, however -u command line switch can be used for that.
I guess 192.168.177.1 is your router address. Why is 192.168.177.10 running an UPnP IGD ?



b) why does the first command fail?

Quote:
UPNP_DeletePortMapping() returned : 714

714 NoSuchEntryInArray - The specified value does not exist in the array.
By the way, upnpc -d syntax is :
Code:
upnpc [options] -d external_port protocol <remote host>
                Delete port redirection

so you should have typed
Code:
upnpc -d 80 TCP

_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
henfri



Joined: 22 Jan 2016
Posts: 2
Location: Germany

PostPosted: Sun Jan 24, 2016 7:34 pm    Post subject: Reply with quote

Merci!

the 177.10 is an old router that I use as a repeater. I shall switch off the upnp.

Greetings,
Hendrik
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation 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.