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

Unix/Linux
ubuntu与windows远程连接的方法
在Ubuntu系统中文件进行加密传输
Unix 操作系统中处理字符串问题的简单方式
UNIX 操作系统复杂的关机过程
fedora phpMyAdmin 安装方法及介绍
Red Hat Enterprise Linux 4+Nginx 0.7.47+PHP5.2+MYSQL5.0+Memcache+eAccelerator收
CENTOS 系统的配置
CentOS 挂载NTFS分区的两种方法
CentOS Tomcat 的启动服务脚本
Centos5.2配置LAMP与Centos5.3配置LAMP
从技术产品市场角度阐述Linux操作系统的发展
rar for linux程序基本命令
LIDS功能:建立一个安全的Linux系统
如何来清除Linux系统命令的历史记录

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 41 ::
收藏到网摘: 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