Proxy

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

 

Check proxy

echo $http_proxy

Set proxy for browsing

http_proxy=http:172.33.73.200:8080

vi .bash_profile
http_proxy="http:172.33.77.200:8080"
export http_proxy

Set proxy for yum via squid proxy

vi /etc/yum.conf
proxy=http://172.33.77.200:3128

SQUID, ACL

ssh This email address is being protected from spambots. You need JavaScript enabled to view it.
sudo su -
ee /usr/local/etc/squid/squid.conf

To Restart SQUID

ps ax | grep [s]quid
23919  ??  Is     0:00.00 /usr/local/sbin/squid -D
23921  ??  S      0:17.94 (squid) -D (squid)
kill -9 23919 23921
/usr/local/sbin/squid -D                              Start SQUID

Check proxy logs (TCP_DENIED, TCP_MISS)

tail -f /var/squid/logs/access.log
tail -50f /var/squid/logs/access.log | grep ex-services.website.com

Newsletter

Enter your email to join our mailing list

Quick Contact