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