gentoo iptables 服务配置使用
来源:互联网 发布:软件定制 猪八戒网 编辑:程序博客网 时间:2024/05/16 11:55
gentoo iptables 服务安装:
#emerge -v iptables
启动:
#/etc/init.d/iptables start
停止:
#/etc/init.d/iptables stop
重新启动:
#/etc/init.d/iptables restart
其他:
/etc/init.d/iptables pause
/etc/init.d/iptables zap
增加了规则后使用
/etc/init.d/iptables save
把规则保存在 /var/lib/iptables/rules-save 文件中(此文件是在/etc/conf.d/iptables中配置的)。
重新装载规则:
/etc/init.d/iptables reload (读入/var/lib/iptables/rules-save 规则)
panic
其他:
Usage: iptables [ flags ] < options >
Normal Options:
start stop restart pause zap
Default init.d options.
Additional Options:
save reload panic
Extra options supported by this init.d script.
Flags:
--quiet
Suppress output to stdout, except if:
1) It is a warning, then output to stdout
2) It is an error, then output to stderr
--verbose Output extra information
--debug Output debug information
--nocolor Suppress the use of colors
Iptables 指南 1.1.19 :http://www.frozentux.net/iptables-tutorial/cn/iptables-tutorial-cn-1.1.19.html
: http://en.gentoo-wiki.com/wiki/Iptables
iptables如何【禁止所有,但保留22端口】
本帖最后由 tony_wangzt 于 2010-04-08 20:23 编辑
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
iptables -A OUTPUT -p tcp --sport 22 -m state --state ESTABLISHD -j ACCEPT
iptables -P INPUT DROP
iptables -P OUTPUT DROP
- gentoo iptables 服务配置使用
- gentoo Iptables
- iptables配置FTP服务
- Gentoo安装配置使用nfs
- linux服务配置之Iptables
- gentoo配置
- Iptables服务全攻略之实战配置
- Centos配置iptables开放ftp服务
- 使用iptables配置目的NAT
- linux 下iptables配置使用
- centos7 使用iptables配置防火墙
- 使用iptables进行NAT配置
- gentoo nfs 服务
- iptables服务
- Gentoo使用之(一) 安装与配置(1)
- Fedora21启用iptables服务及使用firewalld服务注意事项
- gentoo 字体配置
- java3d 配置(linux gentoo )
- 如果做好一个管理者的反思
- Android Google Map Application Example
- 解决oracle问题的方法
- DWR 3 反向Ajax试用
- CSND我来了
- gentoo iptables 服务配置使用
- 关于C# UDP协议NAT打洞技术问题
- Get the screen size in Android
- VMWare虚拟机中配置Windows Mobile模拟器连接Cellular Emulator
- 常用的快捷键
- 15个Google面试题以及答案
- 学业水平考试
- 不定代词的用法
- 数据结构-算法的时间复杂度