Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localAddress settings doesn't work #263

Open
Atheryl opened this issue Nov 29, 2023 · 1 comment
Open

localAddress settings doesn't work #263

Atheryl opened this issue Nov 29, 2023 · 1 comment

Comments

@Atheryl
Copy link

Atheryl commented Nov 29, 2023

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?

@erickythierry
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants