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 

Port forwarding wiminiupnp client on OpenWrt Barrier Breaker

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



Joined: 11 Oct 2017
Posts: 1
Location: Santa Barbara

PostPosted: Wed Oct 11, 2017 7:56 pm    Post subject: Port forwarding wiminiupnp client on OpenWrt Barrier Breaker Reply with quote

Hello everyone,

I am trying to setup port forwarding rules on my AmpliFi router using my OpenWrt box that lives on the network. So, my OpenWrt box can be considered just a regular device on the network. I want to port forward to my Openwrt box, as well as other devices on the network.

I am trying to test this within Openwrt command line so far, and will hopefully move onto a C implementation with libminiupnp once I can confirm this works.

This is the command I am running: "upnpc -a <any ip on my network> 4444 4444 TCP"

Code:
root@openwrt:~# upnpc -a 192.168.141.173 4444 4444 TCP
upnpc : miniupnpc library test client. (c) 2005-2013 Thomas Bernard
Go to http://miniupnp.free.xx/ or http://miniupnp.tuxfamily.xxx/
for more information.
List of UPNP devices found on the network :
 desc: http://192.168.141.1:5000/rootDesc.xml
 st: urn:schemas-upnp-org:device:InternetGatewayDevice:1

Found valid IGD : http://192.168.141.1:5000/ctl/IPConn
Local LAN ip address : 192.168.141.173
ExternalIPAddress = 184.186.227.231
InternalIP:Port = 192.168.141.173:4444
external 184.186.227.231:4444 TCP is redirected to internal 192.168.141.173:4444 (duration=0)


Unfortunately, this is not working. I am certain I am missing some steps, as I am new to uPnP in general. Any advice or troubleshooting tips would be great.

Thanks
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1594

PostPosted: Mon Oct 23, 2017 9:42 am    Post subject: Reply with quote

What do you mean it is not working ?
what happens when connecting on 184.186.227.231:4444 TCP from the internet ?
_________________
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 -> 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.