-
Notifications
You must be signed in to change notification settings - Fork 60
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
Set an HTTP Proxy for the piko agent #236
Comments
Hey @flobaader I don't see why the agent needs any special configuration to work with a HTTP proxy? It doesn't know whether it's connecting to the server directly or via a proxy? You can configure the Piko server URL with Maybe I'm misunderstanding? |
Hi @andydunstall, Thanks so much for your response! I really appreciate you taking the time to help us understand how Piko works. I wanted to share a bit more about our environment to clarify what we're trying to accomplish: Our network setup requires all outbound connections to go through our corporate HTTP proxy - this is a security policy we need to work within. I'm trying to figure out the best way to set up the Piko agent to respect this:
I'm also wondering about how HTTPS certificates will work in this scenario. Since we're connecting through an HTTP proxy but still need secure communication with the Piko server:
To clarify what I'm trying to achieve: graph TD
A[Local Services] <-->|Listening| B[Piko Agent]
B -->|Outbound Connection| C[Corporate HTTP Proxy]
C -->|Internet| D[Piko Server]
D -->|Response| C
C -->|Response| B
subgraph Internal Network
A
B
C
end
subgraph Internet
D
end
We're excited to get Piko working in our environment, and any guidance you could provide would be super helpful! |
I don't think that's supported, since the agent connects to the Piko server which has a custom dialer/transport
No, though I'll look at adding (or you're welcome to have a go at contributing if you'd prefer) I'll aim to get to it this weekend (I'm a bit busy this week so might take me a couple of days to get to). If you have any suggestions on what the easiest way for you to configure the agent would be, please suggest
Great to hear! |
@flobaader I've added support in #237. Please test this out and let me know if it works for you :) |
Awesome, thank you @andydunstall - I need to compile the binary myself for the branch, right? |
Yep - just use |
Hi @andydunstall,
thanks for the awesome work with Piko!
Our piko agent needs to connect to the server via an HTTP proxy, because only outgoing traffic over this proxy is allowed.
Is it possible to configure something like this in the agent settings?
The text was updated successfully, but these errors were encountered: