LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   squid configuration (https://www.linuxquestions.org/questions/linux-networking-3/squid-configuration-281915/)

karan101 01-25-2005 02:19 AM

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

overlord73 01-25-2005 02:36 AM

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?

karan101 01-25-2005 03:09 PM

yes please i only want her to access one website that is blocked and its www.orkut.com
thank you
karan

overlord73 01-26-2005 12:42 AM

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

karan101 01-26-2005 01:30 AM

thank you very much
that helped a lot

karan101 01-26-2005 07:40 PM

ummm one last question what port is the remote pc is trying to cumminicate with mine...? thanx

ugge 01-29-2005 05:00 AM

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.

overlord73 02-01-2005 03:49 AM

the default server port for squid is 3128 !!


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