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

Unix/Linux
第三章 在Debian上用Exim配置邮件服务器
Sendmail邮件服务器快速指南 1
Sendmail邮件服务器快速指南 2
Sendmail邮件服务器快速指南 3
使用sendmail配置企业简易邮件系统
RedHatLinux AS3中配置sendmail服务器
RedHatLinux AS3中APACHE+SendMail+OpenWebMail整合
Linux下DNS服务器架设攻略
Linux下DNS服务器架设攻略 2
Linux下DNS服务器架设攻略 3
Linux内核配置选项
域名解析 A记录 MX记录 CNAME记录 TTL
DNS轮循的一些介绍
netfilter/iptables模块编译及应用
和大家一起分享不错的iptables
构筑Linux防火墙之IPtables的概念与用法(1)
构筑Linux防火墙之IPtables的概念与用法(2)
Linux架设DNS服务器(一)
Linux架设DNS服务器(二)
邮件传输原理及相关入门知识概述

Unix/Linux 中的 iptables & wrap


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