joshpatten / PVE-VDIClient

Proxmox based VDI client
Apache License 2.0
741 stars 104 forks source link

Proxy Support #65

Open blindrain opened 1 year ago

blindrain commented 1 year ago

Is there a way to force this to use a proxy server not a reverse proxy like a socks 5 proxy

joshpatten commented 11 months ago

https://github.com/proxmoxer/proxmoxer/issues/112

It looks like this can be set using an environment variable. Do me a favor and try setting this environment variable. If it works for you, then I will add a feature that sets this environment variable from the INI file.

blindrain commented 10 months ago

So do I put this in the python code or in the ini file?

For me to test this I would need to build the proxy first. The idea I had with this was potentially to be used instead of port knocking , and then I had the idea. If we could get both to work. If proxy fails use port knocking as backup.

joshpatten commented 10 months ago

You would set it as an environment variable

On Sun, Oct 15, 2023 at 3:07 AM blindrain @.***> wrote:

So do I put this in the python code or in the ini file?

For me to test this I would need to build the proxy first. The idea I had with this was potentially to be used instead of port knocking , and then I had the idea. If we could get both to work. If proxy fails use port knocking as backup.

— Reply to this email directly, view it on GitHub https://github.com/joshpatten/PVE-VDIClient/issues/65#issuecomment-1763313329, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIP64QE6VD4VELU42SRR33X7OKS7ANCNFSM6AAAAAA2PCQS2M . You are receiving this because you commented.Message ID: @.***>

sjevtic commented 9 months ago

A quick test in Windows indicates that neither setting http_proxy nor https_proxy environment variables to the HTTP proxy I use has an effect on PVE-VDICclient. Proxy support would be a very welcome addition.

blindrain commented 5 months ago

I found this not sure if it is useful for this or not. https://www.scrapingbee.com/blog/python-requests-proxy/