服务器防火墙问题

服务器防火墙问题

今天,我联系了我的提供商后,我的网站突然无法打开,他们告诉我应该在 SSH 上输入:service iptables stop 命令,问题是我的 SSH 无法像往常一样建立,所以我想我应该使用我在 VPS 面板上创建的临时会话,这个会话将在 1349 端口上工作,所以当我尝试使用会话登录信息连接时,输入密码后,putty 开始显示大量如下命令:

.55.226.255 LEN=160 TOS=0x00 PREC=0x00 TTL=128 ID=14318 PROTO=UDP SPT=17500 DPT=17500 LEN=140
Firewall: UDP_IN Blocked IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:16:3e:c0:f6:90:08:00 SRC=185.55.226.183 DST=255.255.255.255 LEN=122 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=5678 DPT=5678 LEN=102
Firewall: UDP_IN Blocked IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:4c:5e:0c:fd:da:5a:08:00 SRC=192.168.10.1 DST=255.255.255.255 LEN=134 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=5678 DPT=5678 LEN=114
Firewall: UDP_IN Blocked IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:16:3e:43:1a:eb:08:00 SRC=185.55.226.153 DST=255.255.255.255 LEN=160 TOS=0x00 PREC=0x00 TTL=128 ID=24300 PROTO=UDP SPT=17500 DPT=17500 LEN=140
Firewall: UDP_IN Blocked IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:16:3e:43:1a:eb:08:00 SRC=185.55.226.153 DST=185.55.226.255 LEN=160 TOS=0x00 PREC=0x00 TTL=128 ID=14319 PROTO=UDP SPT=17500 DPT=17500 LEN=140
Firewall: UDP_IN Blocked IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:16:3e:69:6b:a0:08:00 SRC=185.55.226.180 DST=255.255.255.255 LEN=117 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=5678 DPT=5678 LEN=97
Firewall: UDP_IN Blocked IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:16:3e:43:1a:eb:08:00 SRC=185.55.226.153 DST=255.255.255.255 LEN=160 TOS=0x00 PREC=0x00 TTL=128 ID=24301 PROTO=UDP SPT=17500 DPT=17500 LEN=140
Firewall: UDP_IN Blocked IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:16:3e:43:1a:eb:08:00 SRC=185.55.226.153 DST=185.55.226.255 LEN=160 TOS=0x00 PREC=0x00 TTL=128 ID=14320 PROTO=UDP SPT=17500 DPT=17500 LEN=140
Firewall: UDP_IN Blocked IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:16:3e:c0:f6:90:08:00 SRC=185.55.226.183 DST=255.255.255.255 LEN=122 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=5678 DPT=5678 LEN=102

似乎永远没有完成!我该如何解决这个问题?

答案1

这是内核发送有关 iptables 阻止数据包的信息。负责在命令行上输出的是系统记录器。由于您没有告诉我们您的系统上安装了哪个发行版,我只能猜测如何停止记录器:

service syslog stop
service syslog-ng stop
service rsyslog stop

相关内容