当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > iptables & wrap

Unix/Linux
Red Hat Enterprise Linux AS 3 Update 5 Release
kmess1.4pre1(绝对可以上msn)
BabyLinux,很精彩的文章
精彩一问一答地址
linux的自动登陆脚本
IC行业白手起家赢利模式问题之探讨(ZT)
JDK安装手册
RedHat Enterprise Linux 介绍
一个Linux高手写给初学者的话
创建LINUX 文件系统(EXT2/EXT3)
增加/删除SWAP分区空间的方法
在RHEL 3中建立软RAID。
RHEL 3中创建VLM实例。
IBM的Linux之路
关于jabber安装
My gentoo screenshot
linuxdown多线程下载软件的源代码分析
三言两语 之 逻辑卷
三言两语 之 网卡,DNS,网关的设置
调整屏幕偏离的问题

Unix/Linux 中的 iptables & wrap


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


iptables 设置文件 /etc/sysconfig/SuSEfirewall2
启动脚本 /etc/init.d/SuSEfirewall2_init /etc/init.d/SuSEfirewall2_setup /etc/init.d/SuSEfirewall2_final
iptables 设置文件 /etc/sysconfig/SuSEfirewall2 其中 FW_SERVICES_EXT_TCP="21 22222 2265 2266 8000 8001 http https imap imaps pop3 pop3s smtp ssh"
我考虑隐蔽增加端口的方法 是在 其他脚本里 比如 SuSEfirewall2_final 里直接调用 /usr/sbin/iptables -A 增加一个端口
wrap 方式 是 inetd 服务器在接受连接请求时候,会先调用 tcpd 检测匹配 /etc/hosts.allow 和 /etc/hosts.deny 来匹配