frp 工具使用 发表于 2021-08-17 | 更新于 2024-11-24
| 总字数: 296 | 阅读时长: 1分钟 | 浏览量:
frp Home:https://gofrp.org/docs/ Frp GitHub:https://gofrp.org/docs/
网卡名称 子网IP Web 192.168.158.0/24 Nat0 172.16.115.0/24 Nat1 192.168.104.0/24 Nat2 172.16.186.0/24
方案1 Frpc.ini 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 [common] server_addr = 192.168 .158.3 server_port = 7000 [socks_proxy] type = tcplocal_port = 9999 remote_port = 9999 use_encryption = true use_compression = true [common] server_addr = 172.16 .115.6 server_port = 7000 token = uknowsec[socks_proxy] type = tcplocal_port = 9999 remote_port = 9999 use_encryption = true use_compression = true [common] server_addr = 192.168 .104.4 server_port = 7000 token = uknowsec[socks_proxy] type = tcplocal_port = 9999 remote_port = 9999 use_encryption = true use_compression = true plugin = socks5```ini ```ini [common] bind_port = 7000 use_encryption = true use_compression = true
方案二 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 [common] server_addr = 192.168 .158.3 server_port = 7000 [socks_proxy] type = tcplocal_port = 9999 remote_port = 9999 use_encryption = true use_compression = true plugin = socks5[common] server_addr = 172.16 .115.6 server_port = 7000 token = uknowsec[socks_proxy] type = tcplocal_port = 9999 remote_port = 9999 use_encryption = true use_compression = true plugin = socks5[common] server_addr = 192.168 .104.4 server_port = 7000 token = uknowsec[socks_proxy] type = tcplocal_port = 9999 remote_port = 9999 use_encryption = true use_compression = true plugin = socks5
Frpc.ini 1 2 3 4 5 [common] bind_port = 7000 use_encryption = true use_compression = true
方案一与方案二的区别
红圈 圈选的是最后到不了的代理,很奇怪
Tips 端口可以保持一致复用 可以使用自定义证书进行单向加密,双向加密 XRSec has the right to modify and interpret this article. If you want to reprint or disseminate this article, you must ensure the integrity of this article, including all contents such as copyright notice. Without the permission of the author, the content of this article shall not be modified or increased or decreased arbitrarily, and it shall not be used for commercial purposes in any way