我正在使用Ubuntu 18.04。我想打开防火墙以在端口上通信。我对即将发生的事情感到困惑。我试过了
davea@chicommons-laboratory:~$ sudo ufw allow 4415/tcp
Rules updated
Rules updated (v6)
但是规则显示了这一点
davea@chicommons-laboratory:~$ sudo ufw show added
Added user rules (see 'ufw status' for running firewall):
ufw allow 4415/tcp
ufw allow from 216.70.55.137 to any port 4415 proto tcp
此外,状态显示为无效...
davea@chicommons-laboratory:~$ sudo ufw status
Status: inactive
流量应该能够通过端口4415通过吗?