Hi there! I've been trying to set up proxy server using your code. I removed srv.AuthNoAuthenticationRequiredCallback (comment out) so proxy works only with provided login and password. I tested it with APT and it successfully updated packages:
And i see terminal output, which means that proxy authentication worked perfectly, i got update:
# apt update
Hit:1 http://ru.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://ru.archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
...
79 packages can be upgraded. Run 'apt list --upgradable' to see them.
But there is an issue with configuring proxy for Firefox, it does not prompt to enter login and password
After some research I found than authentication window pops up on HTTP proxy type, not SOCKS.
The way to apply SOCKS proxy settings is to use extension like FoxyProxy and etc...
Hi there! I've been trying to set up proxy server using your code. I removed
srv.AuthNoAuthenticationRequiredCallback
(comment out) so proxy works only with provided login and password. I tested it with APT and it successfully updated packages:Prompt from main.go after calling
apt update
:And i see terminal output, which means that proxy authentication worked perfectly, i got update:
But there is an issue with configuring proxy for Firefox, it does not prompt to enter login and password
Do you have any suggestions what is wrong and how to fix it?