容器技术交流

 找回密码
 立即注册
查看: 2880|回复: 1

自己改了一下iptables规则 现在能打开htm 打不开php了

[复制链接]
发表于 2014-7-9 10:55:12 | 显示全部楼层 |阅读模式
txt   rar htm等文件可以打开 但是php文件就不行,打开的时候显示502错误

但是 LuManager 程序正常(LuManager应该也是php吧)

不知道那里错了 希望有大神帮帮忙!谢谢!!

规则如下:
  1. *filter
  2. :INPUT DROP [1:40]
  3. :FORWARD DROP [0:0]
  4. :OUTPUT DROP [0:0]
  5. -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
  6. -A INPUT -p tcp -m tcp --dport 678 --tcp-flags FIN,SYN,RST,ACK SYN -m recent --rcheck --seconds 60 --hitcount 3 --name webpool --rsource -j DROP
  7. -A INPUT -p tcp -m tcp --dport 678 --tcp-flags FIN,SYN,RST,ACK SYN -m recent --set --name webpool --rsource -j ACCEPT
  8. -A INPUT -p tcp -m tcp --dport 678 -j ACCEPT
  9. -A INPUT -p tcp -m tcp --dport 8888 -j ACCEPT
  10. -A OUTPUT -p tcp -m tcp --sport 22 -j ACCEPT
  11. -A OUTPUT -p tcp -m tcp --sport 678 -j ACCEPT
  12. -A OUTPUT -p tcp -m tcp --sport 8888 -j ACCEPT
  13. COMMIT
  14. # Completed on Wed Jul  9 01:55:53 2014
复制代码



发表于 2014-7-9 20:57:38 | 显示全部楼层
给9000 9001
端口
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2024-5-5 04:07 , Processed in 0.033100 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表