Joined: 11 Oct 2017
Location: Santa Barbara
|Posted: Wed Oct 11, 2017 7:56 pm Post subject: Port forwarding wiminiupnp client on OpenWrt Barrier Breaker
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"
|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 :
Found valid IGD : http://192.168.141.1:5000/ctl/IPConn
Local LAN ip address : 192.168.141.173
ExternalIPAddress = 188.8.131.52
InternalIP:Port = 192.168.141.173:4444
external 184.108.40.206: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.