LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-25-2005, 02:19 AM   #1
karan101
Member
 
Registered: Aug 2004
Location: CANADA
Distribution: Fedora core4
Posts: 60

Rep: Reputation: 15
squid configuration


hello people
I was looking for a program that could let some other user connected to internet whose blocked by its isp to visit some website (some countries block websites for political and other issues...) i was told that squid is the program...but geeezzz its hard...can anyone help me out to set it up i just want to let one "known" ip to access one website . thats all....can anyone help me out to configure the configuration file please
thank you very much
karan
 
Old 01-25-2005, 02:36 AM   #2
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
ok step by step.

under INSERT YOUR OWN RULES (/etc/squid/squid.conf) you can make an ACL which allows
only the machine with ip 192.168.0.100 to access squid-cache.

# example for 2 ip-ranges
#acl pcrange src 192.168.0.0/24 192.168.1.0/24
# for 1 ip
acl onepc src 192.168.0.100
http_access allow onepc
http_access deny all

further you want this IP only access one specific external website?
 
Old 01-25-2005, 03:09 PM   #3
karan101
Member
 
Registered: Aug 2004
Location: CANADA
Distribution: Fedora core4
Posts: 60

Original Poster
Rep: Reputation: 15
yes please i only want her to access one website that is blocked and its www.orkut.com
thank you
karan
 
Old 01-26-2005, 12:42 AM   #4
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
to control website access you can integrate SquidGuard.
it has blacklists for domains,urls,expressions....
but only to implement your single prob, have a look at:

http://www.squid-cache.org/mail-arch...0411/0718.html
 
Old 01-26-2005, 01:30 AM   #5
karan101
Member
 
Registered: Aug 2004
Location: CANADA
Distribution: Fedora core4
Posts: 60

Original Poster
Rep: Reputation: 15
thank you very much
that helped a lot
 
Old 01-26-2005, 07:40 PM   #6
karan101
Member
 
Registered: Aug 2004
Location: CANADA
Distribution: Fedora core4
Posts: 60

Original Poster
Rep: Reputation: 15
ummm one last question what port is the remote pc is trying to cumminicate with mine...? thanx
 
Old 01-29-2005, 05:00 AM   #7
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
When communicating over HTTP the client connects to the server on port 80. The server then send it's response on another port, which is random.
 
Old 02-01-2005, 03:49 AM   #8
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
the default server port for squid is 3128 !!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid configuration tuXfree Linux - Newbie 2 08-23-2005 03:27 PM
best squid configuration shanino Linux - Networking 11 08-21-2004 02:55 AM
Squid Configuration (visible_hostname) villajohn Linux - Software 0 04-14-2004 05:15 PM
Squid configuration ematogo Linux - Networking 8 12-31-2002 12:22 PM
Squid Configuration accelicim_ho Linux - Software 2 03-26-2002 05:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration