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。

Home Page:https://snail007.host900.com/goproxy/manual/zh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cant' Hide Real Requester Client IP On Reverse Proxy

hangadelen-qop opened this issue · comments

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?

Outgoing ip configs -> --bind-listen

Or which config details do we have to use

fill the issue template

Let me fill

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

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

My command is true ? Or missing something btw ?