2772129504
这是iptables input 表

完整表

  1. [spoiler][root@ecs-Dyg frp]# iptables -L INPUT
  2. Chain INPUT (policy ACCEPT)
  3. target     prot opt source               destination
  4. ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ES                                                                                                                              TABLISHED
  5. ACCEPT     all  --  anywhere             anywhere
  6. INPUT_direct  all  --  anywhere             anywhere
  7. INPUT_ZONES_SOURCE  all  --  anywhere             anywhere
  8. INPUT_ZONES  all  --  anywhere             anywhere
  9. DROP       all  --  anywhere             anywhere             ctstate INVALID
  10. REJECT     all  --  anywhere             anywhere             reject-with icmp-h                                                                                                                              ost-prohibited
  11. ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:afs3-files                                                                                                                              erver
  12. [root@ecs-Dyg frp]# iptables -L INPUT -n
  13. Chain INPUT (policy ACCEPT)
  14. target     prot opt source               destination
  15. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ES                                                                                                                              TABLISHED
  16. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
  17. INPUT_direct  all  --  0.0.0.0/0            0.0.0.0/0
  18. INPUT_ZONES_SOURCE  all  --  0.0.0.0/0            0.0.0.0/0
  19. INPUT_ZONES  all  --  0.0.0.0/0            0.0.0.0/0
  20. DROP       all  --  0.0.0.0/0            0.0.0.0/0            ctstate INVALID
  21. REJECT     all  --  0.0.0.0/0            0.0.0.0/0            reject-with icmp-h                                                                                                                              ost-prohibited
  22. ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:7000
  23. [root@ecs-Dyg frp]# iptables -L -n |less
  24. [root@ecs-Dyg frp]# clear
  25. [root@ecs-Dyg frp]# iptables -L -n |less
  26. Chain INPUT (policy ACCEPT)
  27. target     prot opt source               destination
  28. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
  29. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
  30. INPUT_direct  all  --  0.0.0.0/0            0.0.0.0/0
  31. INPUT_ZONES_SOURCE  all  --  0.0.0.0/0            0.0.0.0/0
  32. INPUT_ZONES  all  --  0.0.0.0/0            0.0.0.0/0
  33. DROP       all  --  0.0.0.0/0            0.0.0.0/0            ctstate INVALID
  34. REJECT     all  --  0.0.0.0/0            0.0.0.0/0            reject-with icmp-host-prohibited
  35. ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            tcp dpt:7000

  36. Chain FORWARD (policy ACCEPT)
  37. target     prot opt source               destination
  38. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
  39. ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
  40. FORWARD_direct  all  --  0.0.0.0/0            0.0.0.0/0
  41. FORWARD_IN_ZONES_SOURCE  all  --  0.0.0.0/0            0.0.0.0/0
  42. FORWARD_IN_ZONES  all  --  0.0.0.0/0            0.0.0.0/0
  43. FORWARD_OUT_ZONES_SOURCE  all  --  0.0.0.0/0            0.0.0.0/0
  44. FORWARD_OUT_ZONES  all  --  0.0.0.0/0            0.0.0.0/0
  45. DROP       all  --  0.0.0.0/0            0.0.0.0/0            ctstate INVALID
  46. REJECT     all  --  0.0.0.0/0            0.0.0.0/0            reject-with icmp-host-prohibited

  47. Chain OUTPUT (policy ACCEPT)
  48. target     prot opt source               destination
  49. OUTPUT_direct  all  --  0.0.0.0/0            0.0.0.0/0

  50. Chain FORWARD_IN_ZONES (1 references)
  51. target     prot opt source               destination
  52. FWDI_public  all  --  0.0.0.0/0            0.0.0.0/0           [goto]
  53. FWDI_public  all  --  0.0.0.0/0            0.0.0.0/0           [goto]
  54. FWDI_public  all  --  0.0.0.0/0            0.0.0.0/0           [goto]

  55. Chain FORWARD_IN_ZONES_SOURCE (1 references)
  56. target     prot opt source               destination

  57. Chain FORWARD_OUT_ZONES (1 references)
  58. target     prot opt source               destination
  59. FWDO_public  all  --  0.0.0.0/0            0.0.0.0/0           [goto]
  60. FWDO_public  all  --  0.0.0.0/0            0.0.0.0/0           [goto]
  61. FWDO_public  all  --  0.0.0.0/0            0.0.0.0/0           [goto]

  62. Chain FORWARD_OUT_ZONES_SOURCE (1 references)
  63. target     prot opt source               destination

  64. Chain FORWARD_direct (1 references)
  65. target     prot opt source               destination

  66. Chain FWDI_public (3 references)
  67. target     prot opt source               destination
  68. FWDI_public_log  all  --  0.0.0.0/0            0.0.0.0/0
  69. FWDI_public_deny  all  --  0.0.0.0/0            0.0.0.0/0
  70. FWDI_public_allow  all  --  0.0.0.0/0            0.0.0.0/0
  71. ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0

  72. Chain FWDI_public_allow (1 references)
  73. target     prot opt source               destination

  74. Chain FWDI_public_deny (1 references)
  75. :[/spoiler]
复制代码




我运行frps服务显示正常但是我电脑上无法链接

版本 0.32.0
frps linux
frpc window10








Zapic
好消息.
FRP的管理端口是UDP协议的,请仔细检查.

2772129504
Zapic 发表于 2020-3-17 12:05
好消息.
FRP的管理端口是UDP协议的,请仔细检查.

不是管理 是通讯


9isli
我也遇到了同样的问题,我是把客户端的防火墙关了解决的

2772129504
9isli 发表于 2020-3-18 10:44
我也遇到了同样的问题,我是把客户端的防火墙关了解决的

我解决了 是我嫖的服务器上安了宝塔
  1. 宝塔一生黑!
复制代码

第一页 上一页 下一页 最后一页