Open
Description
I have multiple IPs on my server with single network interface and started leproxy to listen on all IPs with:
php leproxy-latest.php user:pass@:1080
now, no matter which IP I use on my client, it's outgoing IP is same:
curl --proxy socks5h://user:pass@65.XXX.XXX.20:1080 https://api.ipify.org
curl --proxy socks5h://user:pass@65.XXX.XXX.21:1080 https://api.ipify.org
curl --proxy socks5h://user:pass@65.XXX.XXX.22:1080 https://api.ipify.org
all of the above command shows primary ip of the server.
does anyone have an idea on how to make it go through same IP on which the client is connected.