supergeen
Joined: 11 Oct 2017 Posts: 1 Location: Santa Barbara
|
Posted: Wed Oct 11, 2017 7:56 pm Post subject: Port forwarding wiminiupnp client on OpenWrt Barrier Breaker |
|
|
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 |
|