proxy-agents icon indicating copy to clipboard operation
proxy-agents copied to clipboard

localAddress settings doesn't work

Open Atheryl opened this issue 1 year ago • 1 comments

Hi,

Tried the CLI

 npx proxy@1 -l 192.168.0.40
 HTTP(s) proxy server listening on port 3128

Still going through the primary interface set in the OS.

I also tried through to understand how to proceed through the code, but the documentation is minimalistic to say the least https://github.com/TooTallNate/proxy-agents/tree/main/packages/proxy

Has anyone succeeded in getting either way to re-route the traffic through a specific network interface?

Atheryl avatar Nov 29 '23 16:11 Atheryl

I did a test here using IPv6 and it worked.

I was looking for a project like this for a few days and only this one worked as I wanted. I added 2 different IPv6s to a VPS and wanted to use them both as an outgoing interface.

I ran the command npx proxy@1 --port 8080 -l *ipv6Addr* and curl requests were being proxied by the defined ip.

I only tested it with IPv6, as it is free to add to the VPS

erickythierry avatar Mar 31 '24 19:03 erickythierry