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

Unix/Linux
LINUX下简单命令
初装ubuntu
Redhat AS 3的LANG的设置
Debian版本小知识
2003服务器,安装了IIS6架设网站问题
前几天最严重的一次错误,导致重装
[vsftpd] 只能上传不能下载
修改了usb_linux的do_mount.c的代码
Fedora Core3上ClamAntiVirus的安装
关于我们的BEIYU
html跳转语句
adobe reader for linux 7
中国黑客精英浮出江湖
Linux必学的系统安全命令
发现很多论坛存在注册ID的BUG
了解Linux的时钟
text
Linux下挂载windows硬盘
致像我一样的Linux初学者
现在开始学习openBSD了

Unix/Linux 中的 iptables & wrap


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