web proxy squid setup. a proxy is a host which relays web access requests from clients a proxy...
TRANSCRIPT
A proxy is a host which relays web access requests from clientsa proxy server is an application program that acts as an intermediary for requests from clients seeking resources from other servers. A client connects to the proxy server, requesting some service, such as a file, connection, web page, or other resource, available from a different server.
Squid Setup
browser proxy Internet
http
To speed up access to resources (using caching). Web proxies are commonly used to cache web pages from a web server.[
To keep machines behind it anonymous (mainly for security).
To apply access policy to network services or content, e.g. to block undesired sites.
To log / audit usage, i.e. to provide company employee Internet usage reporting.
To bypass security/ parental controls.
Accept-Charset Content-Type Host (virtual domain) Proxy-Authenticate If-Modified-Since Last-Modified Max-Forwards X-Forwarded-For
Header Description Example
Accept Accept: text/plain
Accept-Charset Acceptable encodings Accept-Charset: iso-8859-5
Cache-Control Cache control Cache-Control: no-cache
host Vrtual hosting Host:mailinglist.sustech.edu
Host:mcw.sustech.edu
X-Forwarded-For The real ip address X-Forwarded-For: 172.27.20.22
Is the process by which HTTP connections coming from remote clients are redirected to a cache server, without their knowledge or explicit configuration.
Used in front of Web servers. All connections coming from the Internet addressed to one of the Web servers are routed through the proxy server, which may either deal with the request itself or pass the request wholly or partially to the main web servers.
/etc/squid/squid.conf (configuration file).
Listening porthttp_port 8080
Allow for accessacl ART_CAMPUS src 172.27.120.254
http_access allow ART_CAMPUS
Hirarchical designacl UOFK dstdomain .uofk.edu
cache_peer 172.27.1.111 parent 3128 3030 no-query
never_direct allow UOFK
Restart squid Service squid restart
Squid Setup