‘ SQUID SERVER ‘

Build proxy server and make web browzing fast. Install squid for it.
[1] Install and configure squid
lan:~#

aptitude -y install squid

Reading package lists… Done
Building dependency tree… Done
Reading extended state information
Initializing package states… Done
Reading task descriptions… Done
Building tag database… Done
The following NEW packages will be automatically installed:
squid-common
The following NEW packages will be installed:
squid squid-common
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1093kB of archives. After unpacking 6607kB will be used.
Writing extended state information… Done
Get:1 http://ftp.jp.debian.org etch/main squid-common 2.6.5-6 [438kB]
Get:2 http://ftp.jp.debian.org etch/main squid 2.6.5-6 [654kB]
Fetched 1093kB in 1s (695kB/s)
Preconfiguring packages …
Selecting previously deselected package squid-common.
(Reading database … 21856 files and directories currently installed.)
Unpacking squid-common (from …/squid-common_2.6.5-6_all.deb) …
Selecting previously deselected package squid.
Unpacking squid (from …/squid_2.6.5-6_i386.deb) …
Setting up squid-common (2.6.5-6) …
Setting up squid (2.6.5-6) …
Creating squid spool directory structure
2007/07/15 02:28:12| Creating Swap Directories
Restarting Squid HTTP proxy: squid.

lan:~#

vi /etc/squid/squid.conf

http_port

8080
// line 73: change

acl CONNECT method CONNECT

acl lan src 192.168.0.0/255.255.255.0
// line 2449: add (permit only LAN)
http_access allow lan
// line 2551: add (permit only LAN)

http_access deny all

// line 2552: make valid
visible_hostname lan.server-linux.info
// line 2885: add (specify hostname)

# forwarded_for on

forwarded_for off
// line 3162: add (hide IP address)
header_access Referer deny all

// line 3482: add

header_access X-Forwarded-For deny all
header_access Via deny all
header_access Cache-Control deny all

lan:~#

/etc/init.d/squid restart

Restarting Squid HTTP proxy: squid.

About muzayyanah

apa adanya " be your self "
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s