Skip to content

HTTP PROXY support #42

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

Open
vaclcer opened this issue May 18, 2025 · 3 comments
Open

HTTP PROXY support #42

vaclcer opened this issue May 18, 2025 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@vaclcer
Copy link

vaclcer commented May 18, 2025

Hello, newt seems to ignore HTTP_PROXY or http_proxy env variables. My question is, will this ever work on Sites with Internet access realised ONLY via HTTP proxy? (tight corporate environment...). Thanks!

ERROR: 2025/05/18 21:44:30 Failed to connect: failed to get token: failed to get token: No newt found with that newtId. Retrying in 10s...

@oschwartz10612
Copy link
Member

Hum good question this is to use a HTTP proxy to the Pangolin server itself? Would simply editing the --endpoint work or do you need that HTTP_PROXY to work?

@vaclcer
Copy link
Author

vaclcer commented May 22, 2025

Yes. Pangolin server sits on a public IP, no issues there. But the client (the Site, in Pangolin's terminology) has to go only via HTTP Proxy (like Squid), defined in http_proxy (or HTTP_PROXY) env variable on the client.

FRP supports it - https://github.com/fatedier/frp?tab=readme-ov-file#connecting-to-frps-via-proxy

@oschwartz10612 oschwartz10612 self-assigned this May 24, 2025
@oschwartz10612 oschwartz10612 added the enhancement New feature or request label May 24, 2025
@oschwartz10612
Copy link
Member

Ill look in to trying to add this!

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

No branches or pull requests

2 participants