iptables -A INPUT -p udp --dport 90 -j ACCEPT
iptables -A INPUT -p tcp -m state --state ESTABLISHED -m tcp --dport 8888 -j ACCEPT

service iptables save

service iptables restart

验证修改结果:
iptables -L-n

查看活动udp链接
netstat -au

查看活动tcp链接
netstat -at

相关文章:

  • 2022-12-23
  • 2021-10-22
  • 2021-06-07
  • 2022-12-23
  • 2021-05-01
  • 2022-12-23
  • 2021-12-06
  • 2021-08-09
猜你喜欢
  • 2021-06-23
  • 2021-06-07
  • 2021-12-05
  • 2021-11-10
  • 2021-10-24
  • 2021-08-08
  • 2021-10-14
相关资源
相似解决方案