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

Unix/Linux
RHEL 5服务器系统下故障处理方法
Linux系统下图形界面更改IP地址
Linux操作系统下禁止单用户模式登录的操作方法
Linux中QQ软件的安装和配置
linux 操作系统 uniq命令的说明和使用
Linux 上如何使用QQ和MSN工具
The file /boot/grub/stage1 not read cor 解决办法
如何修改apache 2最大连接数
4G内存时linux的mtrr表不正确的解决
制作Linux的U盘(usb)启动盘
Linux Telnet登录慢问题解决
LINUX操作系统死机解决办法
linux的3种引导方法
vi编辑器使用技巧
Linux使用的一些基本问题
Linux系统下使用wine运行迅雷5的方法
startx启动图形界面失败的几个解决方法
Red Hat Enterprise Linux AS4( 企业版4.0下载)
Raid的学习和基础知识
Linux 下如何配置 PHP 支援 GD

Unix/Linux 中的 iptables & wrap


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