全球主机交流论坛
标题:
iptables 禁用所有端口后,开哪些才能上网?
[打印本页]
作者:
mobisww
时间:
2019-12-20 22:46
提示:
作者被禁止或删除 内容自动屏蔽
作者:
dupit8
时间:
2019-12-21 00:30
何必为难自己呢
作者:
sing
时间:
2019-12-21 00:32
本帖最后由 sing 于 2019-12-21 00:33 编辑
你开的应该没错啊
TCP 80 443
UDP 53
改一下DNS试试
检查主机商防火墙出站端口
作者:
qweasdzxc123
时间:
2019-12-21 00:46
你禁的是input还是output?
作者:
mobisww
时间:
2019-12-23 11:57
提示:
作者被禁止或删除 内容自动屏蔽
作者:
抽插艺术家
时间:
2019-12-23 11:59
是你想从主机访问外网?还是想外网访问主机?
作者:
qweasdzxc123
时间:
2019-12-23 12:02
mobisww 发表于 2019-12-23 11:57
全部封了。~
既然全封,去参考这个吧
https://www.digitalocean.com/community/tutorials/iptables-essentials-common-firewall-rules-and-commands
作者:
haole
时间:
2019-12-23 12:08
进机白名单,出机黑名单。
欢迎光临 全球主机交流论坛 (https://loc.010206.xyz/)
Powered by Discuz! X3.4