zhou0911 大佬有话说 :
有个iptables防火墙疑问,咨询一下高手
我的小jj安装了 centos6 系统,只要防火墙iptables一开,wget yum 统统用不了了,dns为8.8.8.8/8.8.4.4
防火墙一关,啥事都没有了一切正常
下边是防火墙规则,高手帮忙看看啥情况
@server ~]# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all–anywhere anywhere
ACCEPT all–anywhere anywhere state RELATED,ESTABLISHED
ACCEPT tcp–anywhere anywhere state NEW tcp dpt:22
ACCEPT tcp–anywhere anywhere state NEW tcp dpt:ftp
ACCEPT tcp–anywhere anywhere state NEW tcp dpts:dnp:30000
ACCEPT tcp–anywhere anywhere state NEW tcp dpt:http
ACCEPT tcp–anywhere anywhere state NEW tcp dpt:https
ACCEPT icmp –anywhere anywhere icmp echo-request
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain syn-flood (0 references)
target prot opt source destination
#
zhou0911 大佬有话说 :
大佬快出来,快出来
大神 大佬有话说 :
把你的锐速关闭
问题解决
zhou0911 大佬有话说 :
大神 大佬有话说 : 2020-2-3 14:57
把你的锐速关闭
问题解决
我勒个去,我还真安装了锐速。有什么和平共处的解决办法没?
大神 大佬有话说 :
zhou0911 大佬有话说 : 2020-2-3 15:01
我勒个去,我还真安装了锐速。有什么和平共处的解决办法没?
每次锐速启动后 , 执行一次iptables -F
kzklot 大佬有话说 :
本帖最后由 kzklot 于 2020-2-3 15:09 编辑
iptables -P OUTPUT ACCEPT
安裝ufw
apt-get install ufw
ufw default allow outgoing
yc022t
zhou0911 大佬有话说 :
大神 大佬有话说 : 2020-2-3 15:04
每次锐速启动后 , 执行一次iptables -F
这不就是把所有规则都清空了么,一不小心就把自己也拦门外边了:lol
zhou0911 大佬有话说 :
kzklot 大佬有话说 : 2020-2-3 15:08
安裝ufw
大佬我一会儿试试你这个办法,哈哈哈:lol