摘要: (转载)http://www.jefflei.com/post/1760.html1.iptables防火墙启动和停止启动iptables防火墙时命令行输入 #service iptables start[root@host.jefflei.com ~]# service iptables start应用 iptables 防火墙规则: [确定]载入额外 iptables 模块:ip_conntrack_netbios_ns [确定]要停止iptables命令行输入 #service iptables s... 阅读全文
posted @ 2013-08-05 20:18 robotke1 阅读(847) 评论(0) 推荐(0)
摘要: (转载)http://www.cnblogs.com/JemBai/archive/2009/03/19/1416364.html如果你的IPTABLES基础知识还不了解,建议先去看看.开始配置我们来配置一个filter表的防火墙.(1)查看本机关于IPTABLES的设置情况[root@tp ~]# iptables -L -nChain INPUT (policy ACCEPT)target prot opt source destinationChain FORWARD (policy ACCEPT)target prot opt source destinationChain OUTPU 阅读全文
posted @ 2013-08-05 20:16 robotke1 阅读(212) 评论(0) 推荐(0)
摘要: (转载)http://www.vpser.net/security/linux-iptables.htmliptables是Linux上常用的防火墙软件,下面vps侦探给大家说一下iptables的安装、清除iptables规则、iptables只开放指定端口、iptables屏蔽指定ip、ip段及解封、删除已添加的iptables规则等iptables的基本应用。1、安装iptables防火墙如果没有安装iptables需要先安装,CentOS执行:yum install iptablesDebian/Ubuntu执行:apt-get install iptables2、清除已有iptabl 阅读全文
posted @ 2013-08-05 20:13 robotke1 阅读(250) 评论(0) 推荐(0)
摘要: (转载)http://jar-c.blog.163.com/blog/static/1164012502010511128782/以前使用的重启命令 killall -HUPnginx停止killall -9 nginx 启动/usr/local/nginx/sbin/nginx现在使用的方式修改nginx配置文件后,先执行:/usr/local/nginx/sbin/nginx -t 检查配置是否正常,如果显示:the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok configuration file /us 阅读全文
posted @ 2013-08-05 19:45 robotke1 阅读(227) 评论(0) 推荐(0)