Editar o Proxy

1. Editar o Proxy

Fabio Freitas Liborio
fliborio

(usa Debian)

Enviado em 18/02/2012 - 17:50h

Boa tarde prezados gostaria de saber como faço para editar o proxy que eu configurei em minha maquina virtual box, porque está bloqueando até o google e alguns sites de acesso a minha rede, queria saber qual é o comando para edita-ló, meu proxy e o squid, distro é ubuntu server 10.10.

Grato.

Fabio Freitas.


  


2. Re: Editar o Proxy

Reginaldo de Matias
saitam

(usa Slackware)

Enviado em 18/02/2012 - 18:24h

utiliza algum editor em modo texto: vi,vim,mcedit,nano,pico,emacs.

O mais comum é o vi/vim, mas pode usar o editor que for melhor pra vc.

estando no diretório corrente que esta o squid.conf escolha o editor que melhor for pra vc.

#vi squid.conf
#vim squid.conf

e assim sucessivamente!

Maiores informação sobre configuração do proxy autenticado no squid: http://mundodacomputacaointegral.blogspot.com/2011/12/configurando-servidor-proxy-autenticado.html


3. Re: Editar o Proxy

Fabio Freitas Liborio
fliborio

(usa Debian)

Enviado em 19/02/2012 - 18:22h

Obrigado conseguir liberar os acessos editei no vi vlw mesmo cara agora eu queria colocar o proxy transparente como faço?

Grato.

Fabio Freitas.


4. Re: Editar o Proxy

Reginaldo de Matias
saitam

(usa Slackware)

Enviado em 19/02/2012 - 19:26h

segue para proxy transparente no squid

http://mundodacomputacaointegral.blogspot.com/2011/11/configurando-servidor-proxy-com-squid.html


5. Re: Editar o Proxy

Fabio Freitas Liborio
fliborio

(usa Debian)

Enviado em 20/02/2012 - 11:11h

Ok muito obrigado mais não estou consguindo bloquear a palavra badoo segue minha configuração do proxy squid.

"acl negados url_regex badoo" mais não está bloqueando o site do badoo gostaria de uma orientação.

Grato.

Fabio Freitas.


6. meus caros preciso saber como edito esse arquivo preciso acrescentar alguns sites e sou leigo no ass

wellington farias brotas
wellingtonfb

(usa Debian)

Enviado em 07/08/2015 - 23:10h

#########################################
## WELCOME TO SQUID 3.1.20 ##
## ---------------------------------- ##
## Recommended minimum configuration: ##
## ##
#########################################

visible_hostname Setor de Informatica
http_port 192.168.1.2:3128

########################################################################################################################################################################
################################################# AUTENTICAR PARA WEB ####################################################################################
########################################################################################################################################################################
auth_param basic program /usr/lib/squid3/squid_ldap_auth -R -b "ou=upamat,dc=upa,dc=tbt" -D leopardo@upa.tbt -W /etc/squid3/ldappass.txt -f sAMAccountNAme=%s -h 192.168.1.1
auth_param basic children 5
auth_param basic realm "Autentique-se para acessar a Internet"
auth_param basic credentialsttl 15 minutes

acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 82 # MV_SISTEMAS
acl CONNECT method CONNECT

########################################################################################################################################################################
#################################################### REGRAS DE ACESSO ###################################################################################
########################################################################################################################################################################
acl manager proto cache_object
acl localhost src 192.168.1.0/24 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl sites_livres url_regex -i "/etc/squid3/sites_livres.txt"
acl sites_block url_regex "/etc/squid3/sites_block.txt"
acl mv_sistemas dst 192.168.1.10 192.168.1.15 189.28.128.103
acl ammyy dst 172.224.123.242 209.239.123.75 88.198.6.55 88.198.6.54
acl sem_proxy dstdomain "/etc/squid3/sem_proxy.txt"
acl recepcao arp "/etc/squid3/mac_recepcao.txt"
acl autentica proxy_auth REQUIRED

########################################################################################################################################################################

^G Ajuda ^O Gravar ^R Ler o Arq ^Y Pág Anter ^K Recort Txt ^C Pos Atual
^X Sair ^J Justificar ^W Onde está? ^V Próx Pág ^U Colar Txt ^T Para Spell



7. Re: Editar o Proxy

José
digitalx

(usa Debian)

Enviado em 07/08/2015 - 23:17h

Cadê a pá de ouro?







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts