https://freefrp.net/docs:**无需本地端口**

  1. 编写frpc.toml配置文件:
serverAddr = "frp.freefrp.net"
serverPort = 7000
auth.method = "token"
auth.token = "freefrp.net"

[[proxies]]
name = "http_proxy_20240908"
type = "tcp"
remotePort = 19685 #任意端口,需要启动后才知道freefrp.net的19685是否能用

[proxies.plugin]
type = "http_proxy"
httpUser = "huyi"
httpPassword = "www.51.com"

[[proxies]]
name = "socks5_proxy_20240629"
type = "tcp"
remotePort = 19686  #任意端口

[proxies.plugin]
type = "socks5"
username = "huyi"
password = "www.51.com"

2.启动

nohup /home/louwen/frp/frpc -c /home/louwen/frp/frpc.toml >/dev/null 2>&1 &

3.测试

curl -x <http://huyi:[email protected]:19685> <https://ip.gs>
curl -x socks5://huyi:[email protected]:19686 <https://ip.gs>

4.类似教程

https://www.youtube.com/watch?v=nTHdwA0brSA&t=414s