![ufw 不遵守默认传入策略](https://linux22.com/image/1057659/ufw%20%E4%B8%8D%E9%81%B5%E5%AE%88%E9%BB%98%E8%AE%A4%E4%BC%A0%E5%85%A5%E7%AD%96%E7%95%A5.png)
我已经在实例Ubuntu 16.04 LTS
上安装。EC2
```
sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), deny (routed)
New profiles: skip
To Action From
-- ------ ----
443/tcp (Nginx HTTPS) ALLOW IN Anywhere
22/tcp ALLOW IN Anywhere
```
我在端口上运行了一些服务4000
,我可以通过互联网访问它,如果唯一开放的端口是443
和,那么这怎么可能呢22
?