码迷,mamicode.com
首页 >  
搜索关键字:Iptables    ( 4723个结果
linux下IPTABLES配置详解
iptables 配置如果你的IPTABLES基础知识还不了解,建议先去看看.开始配置我们来配置一个filter表的防火墙.(1)查看本机关于IPTABLES的设置情况[root@tp ~]# iptables -L -nChain INPUT (policy ACCEPT)target prot ...
分类:系统相关   时间:2015-04-18 23:35:32    阅读次数:281
Linux中iptables的一些解读
首先要注意的是iptables不是防火墙,而是实现防火墙功能的工具。1.iptables的两张框架图:表:raw表:对报文设置一个标志,决定数据包是否被状态跟踪机制处理mangle表:主要用于修改数据包nat表:主要用处是网络地址转换、端口映射fileter表:主要用于过滤包一般情况我们对filt..
分类:系统相关   时间:2015-04-18 14:41:21    阅读次数:238
老师版本lvs dr
6、LVSDR模式配置(1)客户端配置eth0(ip):172.17.10.252网关(GW):172.17.10.250(2)防火墙配置eth0:172.17.10.250eth1:192.168.10.1eth1:0192.168.20.1#vim/etc/sysctl.confnet.ipv4.ip_forward=1#sysctl-p#iptables-tnat-APREROUTING-ieth0-ptcp--dport80-jDNAT--to192.168.10.1..
分类:其他好文   时间:2015-04-17 18:33:50    阅读次数:160
防火墙配置
[root@bmspay ~]# cat /etc/sysconfig/iptables# Generated by iptables-save v1.4.7 on Fri Apr 3 14:16:25 2015*filter:INPUT ACCEPT [0:0]:FORWARD ACCEPT [0...
分类:其他好文   时间:2015-04-17 17:52:59    阅读次数:138
Linux 禁ping和开启ping操作
Linux禁ping和开启ping操作#echo1>/proc/sys/net/ipv4/icmp_echo_ignore_all如果要恢复,只要:#echo0>/proc/sys/net/ipv4/icmp_echo_ignore_all即可,挺方便,不要去专门使用ipchains或者iptables了。或者用以下方法也可以,异曲同工以root进入Linux系统,然后编辑文件i..
分类:系统相关   时间:2015-04-16 20:04:44    阅读次数:209
puppet的安装
puppet功能和简介:用于多台服务器的批量管理和部署需要的包:facter-1.6.18.tar.gzpuppet-2.7.22.tar.gz(facter包是puppet的依赖包)步骤:server-ip:192.168.13.54域名www.wyx1.comclient-ip:192.168.13.55域名www.wyx2.comserver:iptables-Fsetenforce0hostnamewww.wyx1...
分类:其他好文   时间:2015-04-16 14:30:42    阅读次数:237
linux iptables 配置
1.查看已有配置 iptables -L -n2.清除原有规则. iptables -F 清除预设表filter中的所有规则链的规则 iptables -X 清除预设表filter中使用者自定链中的规则3.设定预设规则 iptables -p INPUT DROP iptables -p...
分类:系统相关   时间:2015-04-16 14:01:14    阅读次数:168
Centos6.4 安装ossec 2.7(2)
一、Ossec官网http://www.ossec.net/二、Ossec部署方式为C/S:server:192.168.88.156agent:192.168.88.161三、Server服务器配置1.关闭selinux,关闭iptables[root@localhost~]#vi/etc/selinux/configSELINUX=disabled2.安装依赖包[root@localhost~]#yum-yinstallwgetlrzszmysqlg..
分类:其他好文   时间:2015-04-15 23:44:18    阅读次数:635
iptables-save和iptables-restore
iptables-save用来把当前的规则存入一个文件里以备iptables-restore使用。它的使用很简单,只有两个参数: iptables-save [-c] [-t table] 参数-c的作用是保存包和字节计数器的值。这可以使我们在重启防火墙后不丢失对包和字节的统计。带-c参数的ipta...
分类:其他好文   时间:2015-04-15 23:21:24    阅读次数:172
Fedora21启用iptables服务及使用firewalld服务注意事项
安装Iptables 服务: yum?install?iptables-services 停止firewalld: systemctl?stop?firewalld mask?firewalld: systemctl?mask?firewalld service?iptables?save ==============================...
分类:其他好文   时间:2015-04-15 15:09:47    阅读次数:308
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!