UFW未按预期屏蔽端口的问题排查求助
UFW未按预期屏蔽端口的问题排查求助
各位好,我在VPS上安装了ufw并执行了以下配置命令:
ufw default allow outgoing ufw default deny incoming ufw allow ssh ufw allow 443/tcp comment 'accept HTTPS connections' ufw enable service ufw restart
执行后查看ufw status的输出如下:
Status: active
To Action From
22/tcp ALLOW Anywhere
443/tcp ALLOW Anywhere # accept HTTPS connections
22/tcp (v6) ALLOW Anywhere (v6)
443/tcp (v6) ALLOW Anywhere (v6) # accept HTTPS connections
但是现在我在家里用浏览器访问<ip_address_of_vps>:82时,仍然能看到运行在Docker容器里的某个服务的网页——我本来是想把这个端口从互联网屏蔽掉的。有没有大佬能帮我分析下为什么端口82还是对外开放的?
备注:内容来源于stack exchange,提问作者Thomas
相关产品推荐
相关产品推荐

