squid/verification.txt

raw link view readme
1 # server
2
3 ss -plnt
4
5 tail -f /var/log/squid/access.log &
6
7 # client
8
9 ## proxy set via env variable
10 export http_proxy=http://10.1.100.1:3128
11 curl -I http://lpic2.unix.nl/
12
13 ## no proxy
14 unset http_proxy
15 curl -I http://lpic2.unix.nl/
16
17 ## proxy set inline
18 curl -Ix http://10.1.100.1:3128 http://lpic2.unix.nl/
19