snail007 / goproxy

🔥 Proxy is a high performance HTTP(S) proxies, SOCKS5 proxies,WEBSOCKET, TCP, UDP proxy server implemented by golang. Now, it supports chain-style proxies,nat forwarding in different lan,TCP/UDP port forwarding, SSH forwarding.Proxy是golang实现的高性能http,https,websocket,tcp,socks5代理服务器,支持内网穿透,链式代理,通讯加密,智能HTTP,SOCKS5代理,黑白名单,限速,限流量,限连接数,跨平台,KCP支持,认证API。
https://snail007.host900.com/goproxy/manual/zh/
GNU General Public License v3.0
15.72k stars 2.99k forks source link

Cant' Hide Real Requester Client IP On Reverse Proxy #522

Open hangadelen-qop opened 1 year ago

hangadelen-qop commented 1 year ago

I have tried TCP and HTTP Reverse proxy and upstream configs on commercial licence. But on main server, we can still see requester user real IP details. I have also tried outgoing ip configs for both tcp and http. Client -> Proxy VPS -> Main Server We have to show VPS ip address details on main server for requester client. Do i have to add secondary reverse proxy vps or miss something maybe?

hangadelen-qop commented 1 year ago

Outgoing ip configs -> --bind-listen

hangadelen-qop commented 1 year ago

Or which config details do we have to use

snail007 commented 1 year ago

fill the issue template

hangadelen-qop commented 1 year ago

Let me fill

hangadelen-qop commented 1 year ago

Expected Behavior

Proxy VPS Server IP Must Be Shown On Reverse Proxy / Upstream

Current Behavior

Still Showing Real User IP On Main Server

Possible Solution

Maybe I Miss Something From Configs. Dont Know.

Steps to Reproduce

  1. Installed goproxy commercial with following command
  2. proxy http -t tcp -p :PORT -T tls -P "MAIN-SERVER:MAIN-PORT" -C proxy.crt -K proxy.key --bind-listen
  3. also tried tcp upstream and outgoing ip with -B and also with flexible option too

Context (Environment)

  1. proxy version is : commercial_12.6
  2. full command is : proxy http -t tcp -p :PORT -T tls -P "MAIN-SERVER:MAIN-PORT" -C proxy.crt -K proxy.key --bind-listen
  3. proxy tcp -p ":PORT" -T tcp -P" MAİN-SERVER:MAIN-PORT" -B
  4. system is : linux ubuntu 20.04
  5. full log is: no error logs.

Detailed Description

I have tried TCP and HTTP Reverse proxy and upstream configs on commercial licence. But on main server, we can still see requester user real IP details. I have also tried outgoing ip configs for both tcp and http. Client -> Proxy VPS -> Main Server We have to show VPS ip address details on main server for requester client. Do i have to add secondary reverse proxy vps or miss something maybe?

Possible Implementation

hangadelen-qop commented 1 year ago

Hey sir i filled the template on same issue link

24 Oca 2023 Sal 16:03 tarihinde snail007 @.***> şunu yazdı:

fill the issue template

— Reply to this email directly, view it on GitHub https://github.com/snail007/goproxy/issues/522#issuecomment-1401914714, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJDEFSL57A4ZBPMVMSXRGTWT7HKTANCNFSM6AAAAAAUFAORTI . You are receiving this because you authored the thread.Message ID: @.***>

snail007 commented 1 year ago

what is your "main server", it is impossiable to get your client ip by "tcp remote address".

hangadelen-qop commented 1 year ago

My command is true ? Or missing something btw ?