fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
87.02k stars 13.42k forks source link

Can we use local socket5 to access to the remote serverAddr? #4522

Closed fangzr closed 3 weeks ago

fangzr commented 3 weeks ago

Describe the feature request

FRP is a great work! Thank you for your efforts!

For example, we the the previous toml file as follows:

serverAddr = "xxx.com" serverPort = 7000

Can we allow my PC to establish a connection between serverAddr and the local PC using local socket5 proxy 127.0.0.1:1080? My PC cannot access to "xxx.com" directly without proxy.

I try to use Proxifier, but it does not work. Can you give me some suggestions?

Describe alternatives you've considered

No response

Affected area

fangzr commented 3 weeks ago

we can use this: transport.proxyURL = "socks5://user:passwd@192.168.1.128:1080"

fangzr commented 3 weeks ago

It is noted that we should use TCP rather than kcp