启用 UFW 后命令提示符冻结(Ubuntu 18.04 服务器)

启用 UFW 后命令提示符冻结(Ubuntu 18.04 服务器)

在我的服务器上启用 UFW 后,命令提示符冻结了,这意味着当我输入任何内容时,我都看不到输入的内容。然后我打开另一个终端窗口并毫无问题地连接到服务器。但是我想知道是什么导致了这样的问题?这些是我输入的命令,之后它就冻结了。

root@ns3247177:~# ufw status
Status: inactive
root@ns3247177:~# ufw enable
Command may disrupt existing ssh connections. Proceed with operation (y|n)? y
Firewall is active and enabled on system startup
root@ns3247177:~# 

我让那个冻结的窗口保持打开状态,过了一会儿,我收到了这条消息:

root@ns3247177:~# packet_write_wait: Connection to 164.132.xxx.xxx port 59674: Broken pipe

相关内容