Telematica CDTTM

Yerlin Otarola Delgado Instructora en redes y telematica, manuales y videotutoriales

Squid Ubuntu 10.04

Squid Ubuntu 10.04

Publicado el 21 Ee febrero Ee 2012 a las 10:15

Configuracion de un servidor Squid



1. Instalacion

apt-get install squid


2. Nos ubicamos en la carpeta del servicio

cd /etc/squid


3. Creamos un respaldo del archivo original de configuración

mv squid.conf  squid.conf.bak


4. Creamos nuestro archivo y lo editamos (El codigo que se muetra a continuacion esta completamente compilado por lo que puede copiarse  pegarse y hacer las modicaciones correspondientes en el archivo que a continuacion crearemos)

nano squid.conf


# Indicamos la ip del proxy y el puerto de eschucha

http_port 192.168.10.1:8080

# Puerto icp del proxy por defecto es 3130  en este caso es 0

icp_port 0

# Si tenemos un proxy padre debemos indicar: la direccion ip del servidor padre y el puerto #de escucha  mas el puerto icp del local host que en este caso es 0

cache_peer  200.100.50.254  parent 3128 0 default

 # Indicamos el nombre de nuestro servidor en este caso es server

visible_hostname server

# Personalizamos el tamaño de la cache

cache_mem 32 MB

cache_dir ufs /var/spool/squid 100 16 256

# Reglas

# Crea una regla para descargas de imagenes

acl imagenes urlpath_regex \.jpg$ \.png$ \.jif$

# Crea una regla el dominio gmail.com

acl correo dst www.gmail.com

# Crea una regla el dominio yahoo.com

acl noquiero dst www.yahoo.com

# Crea una regla red_local

acl red_local src 192.168.10.0/255.255.255.0

# Crea una regla todos

acl all src 0.0.0.0/0.0.0.0

#Estable permisos de acceso

# Bloquea la descarga de imagenes

http_access deny imagenes

# Permite el acceso a gmail

http_access deny correo

# Deniega el acceso a yahoo

http_access deny noquiero

# Permte el acceso a internet a todos nuestros clientes en la red

http_access allow red_local

# Deniega al acceso a todo con las exepciones hechas en las reglas anteriores

http_access deny all

request_header_max_size 10 KB

request_body_max_size 512 KB

reply_body_max_size 512 KB


5. Recargamos el archivo de configuración

service squid reload

... esperamos algunos minutos mientras realiza este proceso


6. Reiniamos el servicio

service squid restart


7. Configuramos nuestro navegador en el equipo cliente


Firefox: Editar --> preferencias --> red --> configuracion --> configuracion manual del proxy

Proxy http: 192.168.10.1 puerto: 8080


Explorer:  Herramientas --> opciones de internet --> Conexiones --> configuracion lan -->

usar servidor proxy para lan

direccion: 192.168.10.1 puerto: 8080




Categorías: Ninguna

Añade un comentario

¡Vaya!

Oops, you forgot something.

¡Vaya!

Las palabras que has introducido no coinciden con el texto. Inténtalo de nuevo.

43 comentarios

Responder Jamoslopsy
15:26 Eel 30 Ee mayo Ee 2021 
With thanks, I value it!
https://topessaywritingbase.com/
Responder Jamoslopsy
9:58 Eel 3 Ee junio Ee 2021 
Awesome content. With thanks.
https://essaypromaster.com/
how to write a college application essay about yourself
essays writer
online essay writing service review
homework
college essay heading
cpm homework
medical school essay writing service
courses work
pay someone to write an essay
dissertation online
how to write a english essay
dissertation online
buy cheap essay
https://contest101.webs.com/apps/guestbook/
Responder Jamoslopsy
22:47 Eel 3 Ee junio Ee 2021 
Thanks, An abundance of posts!
https://topessaywritinglist.com/
help writing college application essay
dissertation writing
what is the best custom essay site
research dissertation
cheap custom essays
thesis editing
write my essay service
dissertation writing
professional essay writers for hire
essays writers
how to write autobiography essay
writing service
graphic organizers for writing an essay
https://kehillathisrael.webs.com/apps/guestbook/
Responder Jamoslopsy
12:17 Eel 4 Ee junio Ee 2021 
Fantastic info. Thanks.
https://ouressays.com/
top rated essay writing websites
do my homework
writing essays about literature
thesis writing services
custom college essay
thesis statement maker
advertisements to write essays on
how to write an argument essay
how to write a great persuasive essay
writing papers
the best essay writer
homework hotline
rutgers college essay
https://contest101.webs.com/apps/guestbook/
Responder Jamoslopsy
0:57 Eel 5 Ee junio Ee 2021 
Awesome postings, Appreciate it.
https://dissertationwritingtops.com/
describe yourself college essay
help writing thesis
write my essay service
essaytyper
how to write an essay intro
custom paper
steps to write a persuasive essay
paper helper
college essay starters
writing a thesis statement
easy college essay prompts
writing help
writing essay service
https://smilevault1.webs.com/apps/blog/show/48256738-comprar-bitc
oins-con-tarjeta-de-cr
Responder Jamoslopsy
13:48 Eel 5 Ee junio Ee 2021 
Regards, Awesome information.
https://bestessayscloud.com/
best college admission essay
coursework
best college essay
help thesis writing
how to write descriptive essays
college essays
how to write an essay to get into college
research paper
help writing a narrative essay
dissertation writing
learn how to write essay
thesis paper
need someone to write my essay
https://contest101.webs.com/apps/guestbook/
Responder Jamoslopsy
2:41 Eel 6 Ee junio Ee 2021 
Reliable tips. Kudos!
https://englishessayhelp.com/
college essay editing service
research dissertation
what is the best college essay editing service
custom paper
writing essay service
writing help
how to write an effective essay
thesis paper writing
what to write about for college essay
thesis writing help
write descriptive essay
write my essays
writing an essay ppt
https://smilevault1.webs.com/apps/blog/show/48256738-comprar-bitc
oins-con-tarjeta-de-cr
Responder Jamoslopsy
8:06 Eel 6 Ee junio Ee 2021 
Thank you, Numerous info!
canadian prescription
https://athleticsandbeyond.webs.com/apps/guestbook/
Responder Jamoslopsy
8:36 Eel 8 Ee junio Ee 2021 
Helpful data. Appreciate it!
https://topessayssites.com/
write essay for money
https://topessaywritinglist.com/
custom order essays
https://topswritingservices.com/
college life essays
https://homeworkcourseworkhelps.com/
essay writing services legal
https://focars102.webs.com/apps/blog/show/43418753-benefits-of-yo
ga-in-life-
Responder Jamoslopsy
9:41 Eel 9 Ee junio Ee 2021 
You said it perfectly..
https://essayssolution.com/
writing a essay
https://quality-essays.com/
writing an autobiographical essay
https://ouressays.com/
how to write an essay for college application
https://theessayswriters.com/
best college essay help
https://icwhsshirts.webs.com/apps/guestbook/
Responder Jamoslopsy
10:56 Eel 10 Ee junio Ee 2021 
With thanks, I enjoy it.
https://englishessayhelp.com/
read my college essay
https://ouressays.com/
customized essays
https://scoringessays.com/
how to write a informative essay
https://essayssolution.com/
essay writing service scams
https://islaamthewayoflife.webs.com/apps/guestbook/
Responder Jamoslopsy
12:17 Eel 11 Ee junio Ee 2021 
Thanks. I like this!
https://scoringessays.com/
conclusion for college essay
https://topessaywritinglist.com/
write an analytical essay
https://discountedessays.com/
what to write your college essay on
https://essayhelp-usa.com/
how to write an descriptive essay
https://thronenode59.webs.com/apps/blog/show/49423188-online-casi
nos-and-the-systems-myth
Responder Jamoslopsy
15:59 Eel 13 Ee junio Ee 2021 
Superb data. Cheers.
https://scoringessays.com/
best college application essay
https://englishessayhelp.com/
college admission essay editing services
https://homeworkcourseworkhelps.com/
cheap custom essay writing
https://definitionessays.com/
how to write an admission essay
https://gertjohansson.webs.com/apps/guestbook/