LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 03: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, 03:36 AM   #2
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 511

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, 04: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, 01:42 AM   #4
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 511

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, 02: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, 08: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, 06: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, 04:49 AM   #8
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 511

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:27 PM
best squid configuration shanino Linux - Networking 11 08-21-2004 03:55 AM
Squid Configuration (visible_hostname) villajohn Linux - Software 0 04-14-2004 06:15 PM
Squid configuration ematogo Linux - Networking 8 12-31-2002 01:22 PM
Squid Configuration accelicim_ho Linux - Software 2 03-26-2002 06:42 AM


All times are GMT -5. The time now is 12:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration