心想事成 发表于 2004-10-20 22:36:31

不过还有一点小问题,如下:

QUOTE
I've been working all day to get UPnP (linux-igd from ports) to work on mym0n0wall box, and finally it seems to be running. It opens up its supportinterface on http://m0n0wall:2869/, and MSN Messenger successfully connectsand negotiates some ports. BUT no ports are ipnat:ed, nor is any port openedwith ipf. Does anyone have a clue of what's going on here? I've done it like this so far: 1, Compiled linux-igd and upnp from ports. 2, Copied over upnpd, libupnp.so, libstdc++.so.3, libc_r.so.4 andlibuuid.so.1 to it's proper locations. 3, Set up the etc/linuxigd dir into /usr/local/etc on my m0n0wall, andedited gatedesc.xml adding the appropriate LAN ip. 4, Started it up with /usr/local/bin/upnpd sis0 sis1. What have I forgotten? I really need the upnp functionality for my SIPgateway (a Vood ATA111). // Thomas Hertz

心想事成 发表于 2004-10-20 22:37:12

QUOTE
The quick way to get it to work if anyone's interested is to growfs mfsroot>a little to make room for the following files from ports/net/linuxigd and>elsewhere:>>libc_r.so.4, libstdc++.so.3, libupnp.so, libuuid.so.1 goes into /usr/lib>>upnpd goes into /usr/local/bin>>the "linuxigd" dir goes into /usr/local/etc, and gatedesc.xml is edited to>replace the two occurances of !ADDR! with your m0n0 LAN IP.>> >>After you've added a multicast route to your LAN interface (route add -net>224.0.0.0 -netmask 240.0.0.0 -iface sis1) you just fire it up with>/usr/local/bin/upnpd sis0 sis1 2>&1>/dev/null (or whatever your interfaces>are).>> >>Man that's dirty.>> >>// Thomas Hertz
页: [1]
查看完整版本: 让m0n0支持upnp的方法