_________________ Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
I gave an example configuration file and an example to run it from the cli. You tried to "read" it with a text editor, that's not going to work. Copy the contents of the above example into a file named miniupnpd.conf and run this in the same directory as miniupnpd
Yea... _________________ Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
You need to create the configuration file in the same directory as the miniupnpd for the example I gave.
You need to make sure your network is vlan0 with ifconfig, and put your proper interface name into the file. This would be your internal network interface. _________________ Eko Builds
Joined: 24 Aug 2009 Posts: 2070 Location: South Florida
Posted: Tue Dec 08, 2009 3:30 Post subject:
Ok, did that...I honestly dont understand what it is you're doing here. If this is gonna be a CLI controlled process, then it is useless (at least to me)
_________________ Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
Notes:
There can be one or several listening_ips.
Notify interval is in seconds. Default is 30 seconds.
Default pid file is /var/run/miniupnpd.pid.
With -d miniupnpd will run as a standard program.
-L sets packet log in pf and ipf on.
-S sets "secure" mode : clients can only add mappings to their own ip
-U causes miniupnpd to report system uptime instead of daemon uptime.
-B sets bitrates reported by daemon in bits per second.
-w sets the presentation url. Default is http address on port 80
root@Asus:/tmp#
_________________ Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
I imagine your optware setup is interfering with port 80, try it like this with the IP adjusted to be the same as your router.
Code:
./miniupnpd -i vlan0 -a 192.168.1.1 -t 50 -w 85 -d
You will be able to see connections and such, to close it hit control + c. Take away the -d to run in the background.
If your running Windows XP you can go to "My Network Places" and you should see "DD-WRT router" along with any other upnp stuff that windows can see. It means it works, you can double click the icon and it will launch the webif to your router. If not make sure in "My Network Places" on the top tab on the left labeled "Network Tasks" make sure the last item says "Hide icons for networked UPnP devices". _________________ Eko Builds
_________________ Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W
Not internal interface. -i denotes your external (WAN) interface, and yes it is vlan2 in this case. _________________ Kernel panic: Aiee, killing interrupt handler!
I do also notice from Mastermans log that miniupnpd does not honour socket keep alive so the client has to open a new socket for each uPnP request.
This is same behaviour as the current dd-wrt uPnP and causes lots of connections in the conntracker.
They will disappear when they reach the TCP timeout though. _________________ Kernel panic: Aiee, killing interrupt handler!
CPU usage is not affected. Would be nice if I could actually see what ports were being forwarded, etc. _________________ Optware, the Right Way
Asus RT-AC68U
Asus RT-N66U
Asus RT-N10
Asus RT-N12
Asus RT-N16 x5
Asus WL520gU
Engenious ECB350
Linksys WRT600Nv1.1
Linksys WRT610Nv1
Linksys E2000
Netgear WNDR3300
SonicWall NSA220W
SonicWall TZ215W
SonicWall TZ205W
SonicWall TZ105W