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
86.76k stars 13.39k forks source link

I start the torrent tracker, but it always gives a local ip address if I connect the torrent client to the web. #4517

Open DEAM0 opened 3 weeks ago

DEAM0 commented 3 weeks ago

Bug Description

Hello, can anyone advise me how to make it so that when a user connects to my tracker, his IP address and port are displayed, because every time he connects, 127.0.0.1 or 10.x.x.x is displayed. I tried everything in nginx but nothing works, it still shows the local ip address.

frpc Version

0.61.0

frps Version

0.61.0

System Architecture

linux/amd64

Configurations

webServer.addr = "0.0.0.0" webServer.port = 7500 webServer.user = "" webServer.password = "" enablePrometheus = true vhostHTTPSPort = 443 vhostHTTPPort = 80 webServer.tls.certFile = "" webServer.tls.keyFile = "" bindPort = 7000

Logs

No response

Steps to reproduce

  1. ...

Affected area

xqzr commented 3 weeks ago

这需要 proxy protocol 支持,但这不太可能

DEAM0 commented 3 weeks ago

Not work.

github-actions[bot] commented 1 day ago

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.