怎么设置iptables,可以让80端口被访问

2025-03-23 09:16:47
推荐回答(1个)
回答1:

举个简单的例子:
iptables -P INPUT DROP
iptables -I INPUT -p tcp --dport 80 -j ACCEPT