Hacking, Linux, Proxy

easiest ssh tunnel, saves you from internal surveillance

just execute this command in linux terminal and get the easiest ssh tunnel, saves you from internal surveillance

ssh -D 8080 -f -C -q -N [email protected]

Linux, Proxy

Put basic apache authentication on squid

htpasswd /etc/squid/passwd user1
chmod o+r /etc/squid/passwd
dpkg -L squid3 | grep ncsa_auth
vi /etc/squid/squid.conf
 
Append (or modify) following configration directive:
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off

Also find out your ACL section and append/modify
acl ncsa_users proxy_auth REQUIRED
http_access allow ncsa_users
Save and close the file.

cloud, Common, Proxy

easy docker for high speed internet proxy

easy docker for high speed internet proxy


docker pull sameersbn/squid:3.3.8-15

docker build -t sameersbn/squid github.com/sameersbn/docker-squid
Start Squid using:
docker run --name squid -d --restart=always -v "/root/squid":/etc/squid3 \
--publish 3128:3128 \
--volume /srv/docker/squid/cache:/var/spool/squid3 \
sameersbn/squid:3.3.8-15