当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > UPnP on your Linux 2.4 firewall how-to

Unix/Linux
Linux常用命令(磁盘管理)
什么是Linux?
Linux命令Man解释:groupmod:修改组
RedHat7.0安装NAT作法简介
我的博客日志
Linux在存储技术中的应用三
Linux在存储技术中的应用二
提示行魔术
Linux轉貼LFSLinux From Scratch 系統簡介
Linux网管123---第7章.自订的组态及管理内容-6.NFS
UNIX应急响应攻略
Problem in installing MySQL on RHEL AS3 Update3
Linux命令Man解释groupadd建立新组
Linux指令篇终端机管理--reset
Linux指令篇编码压缩打包--compress
反垃圾邮件的一些看法
Linux指令篇编码压缩打包--uudecode
linux下配置jsp环境
Linux指令篇编码压缩打包--uuencode
minigui下鼠标

Unix/Linux 中的 UPnP on your Linux 2.4 firewall how-to


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 57 ::
收藏到网摘: n/a

author: bijl, published: 2002-10-18, last update: 2004-02-25, popularity: 16385 page requests16385 page requests16385 page requests16385 page requests16385 page requestsNote:we still haven't audio/video in MSN Messenger working, but we are veryclose. Input is welcome! Use the E-mail link (remove the spam words) orthe webmaster form!
Touse the audio/video functionality of MSN Messenger (or WindowsMessenger, but I will use the former term in the rest of this article)through a firewall, you need UPnP on your firewall. This articleexplains how to add UPnP to your Linux kernel 2.4 based firewall (forexample SmoothWall 2).It took us some beers and a substantial amount of frustrating hours tocollect the proper information and set it up. This article will turnfrustrating hours into a handfull of happy minutes... Well, if you likebeer.Some knowlegde about networking and Linux is required. We usedWindowsXP and MSN Messenger beta-5, build 527, but it should also workwith other Messenger versions. We're not sure if UPnP will work withother Windows versions (probably not, maybe there is an UPnP updateavailable).What is UPnP?UPnP stands for Universal Plug 'n Play. It allows some clients withinthe internal network to open up your firewall, when needed. Note thatthis is a security issue. Refer to http://www.microsoft.com/windowsxp/pro/techinfo/planning/upnp/default.asp for info about UPnP under WindowsXP.Collecting the correct softwareTo install UPnP on your firewall, you need . As the site explains: Thisproject is a deamon that emulates Microsoft's Internet ConnectionService (ICS). It implements the UPnP Internet Gateway Devicespecification (IGD) and allows UPnP aware clients, such as MSNMessenger to work properly from behind a NAT firewall. Download gateway-0.75.tgzor a newer version. LinuxIGD only works with kernel 2.4 (iptables). Ifyou are looking for something for kernel 2.2 (ipchains), check out http://pseudoicsd.sourceforge.net/. LinuxIGD needs the http://upnp.sourceforge.net. Download upnpsdk-1.0.4.tar.gz or a newer version. Do not download the rpm, because you need to make some changes in the code.Follow the instruction in the INSTALL document of LinuxIGD. You have tochange something in the code of the UPnP SDK, you have to compile itand you have to compile the LinuxIGD UPnP Daemon.... or.... ... or forget the above and download our already by RuweBit compiled files !! Is compiled for kernel 2.4.17.Move the files to the correct placesIf you downloaded the RuweBit package above, or compiled it on anothermachine, follow the next steps to move the files to the correct places Copy the *.xml and *.skl files to /etc/linuxigdmkdir /etc/linuxigdcp gateconnSCPD.xml /etc/linuxigdcp gatedesc.skl /etc/linuxigdcp gatedesc.xml /etc/linuxigdcp gateicfgSCPD.xml /etc/linuxigdcp gateinfoSCPD.xml /etc/linuxigd Copy the upnpd file to /usr/bincp upnpd /usr/bin Copy the *.o* files to /usr/libcp libupnp.so /usr/libcp libstdc++-libc6.2-2.so.3 /u