找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4511|回复: 1

[m0n0] 让m0n0支持upnp的方法

[复制链接]
发表于 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
routeros
 楼主| 发表于 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
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-11-24 10:46 , Processed in 0.040093 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表