web proxy squid setup. a proxy is a host which relays web access requests from clients a proxy...

13
Web Proxy Squid Setup

Upload: carol-chandler

Post on 11-Jan-2016

229 views

Category:

Documents


3 download

TRANSCRIPT

Web Proxy

Squid Setup

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

1-Caching -Manually setting in the browser -WPAD (auto) needs DHCP setting and

Web server.

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.

multi-level caching in order to reduce internetwork load and obtain an Increase in performance.

MS ISA Server WinGate WinRoute MS Proxy WinProxy Eserv Squid Proxy Plus

It runs on most available operating systems, including Windows and is licensed under the GNU GPL.

/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

Good Luck…