catatnight/secureproxy
Secure Proxy (frontend:nghttpx; backend:squid3)
242
Build image (as root)
$ docker pull catatnight/secureproxy
$ wget https://raw.githubusercontent.com/catatnight/docker-secureproxy/master/manage.py
$ chmod +x manage.py
Save SSL certs (same directory as where manage.py
is)
$ mkdir -p certs
$ cp {file.key,file.crt} certs/
Uses a RADIUS server for login validation
$ ./manage.py create -p 1234 --radius_server 6.7.8.9 --radius_secret radpass
Uses an NCSA-style username and password file
$ ./manage.py create -p 1234 --ncsa_users user1:pwd1[,user2:pwd2,...]
General usage
$ ./manage.py -h
usage: manage.py [-h] [-p PROXY_PORT] [--radius_server RADIUS_SERVER]
[--radius_secret RADIUS_SECRET] [--ncsa_users NCSA_USERS]
{create,start,stop,restart,delete}
add command-line argument --proxy-server=https://<your.proxy.domain>:<proxy_port>
proxy auto-config (PAC) file
function FindProxyForURL(url, host) {
return "HTTPS <your.proxy.domain>:<proxy_port>";
}
chrome extension SwitchyOmega|falcon proxy
squid2radius
docker pull catatnight/secureproxy