Fórum Debian

Versão Completa: proxy
Você está atualmente visualizando uma versão simplificada do conteúdo. Visualizar a versão completa com formatação.
Páginas: 1 2 3
boa tarde a todos, ja montei alguns proxys mas todos com duas placas de redes e localizados no gateway da rede, hoje to precisando montar um proxy fora do gateway da rede (o proxy não sera transparente) então ele tera apenas uma placa de rede, montei coloquei as regras tudo mas quando configuro um cliente para acessar o proxy ele até solicita a autenticação (que eu configurei) porem não navega nada, não acessa nenhum site, alguem pode me explica se tenho que fazer alguma rota ou o que tenho que fazer para funcionar?
boa tarde a todos, ja montei alguns proxys mas todos com duas placas de redes e localizados no gateway da rede, hoje to precisando montar um proxy fora do gateway da rede (o proxy não sera transparente) então ele tera apenas uma placa de rede, montei coloquei as regras tudo mas quando configuro um cliente para acessar o proxy ele até solicita a autenticação (que eu configurei) porem não navega nada, não acessa nenhum site, alguem pode me explica se tenho que fazer alguma rota ou o que tenho que fazer para funcionar?
Provavelmente é configuração na acl, dê uma revisada, e emsmo se não funcionar, verifique se tem erros no cache.log...
Provavelmente é configuração na acl, dê uma revisada, e emsmo se não funcionar, verifique se tem erros no cache.log...
so deixei as acl's basicas pra navegar.
http_port 3128
visible_hostname proxy-rm
acl all src 0.0.0.0/0.0.0.0
http_access allow all

mesmo assim não navega.
so deixei as acl's basicas pra navegar.
http_port 3128
visible_hostname proxy-rm
acl all src 0.0.0.0/0.0.0.0
http_access allow all

mesmo assim não navega.
Verifique se existem erros em /var/log/squid/cache.log...
Verifique se existem erros em /var/log/squid/cache.log...
proxy-rm:~# cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.18.53
netmask 255.255.255.0
network 192.168.18.0
broadcast 192.168.18.255
gateway 192.168.18.12


proxy-rm:~# cat /etc/squid/squid.conf
#acl METAFRAME url_regex -i metaframe.minerva.ind.br
#http_access allow METAFRAME
http_port 3128
visible_hostname proxy-rm
acl all src 0.0.0.0/0.0.0.0
http_access allow all
#error_directory /usr/share/squid/errors/Portuguese/
##################################################################
#cache_mem 300 MB
#maximum_object_size_in_memory 64 KB
#maximum_object_size 256 MB
#minimum_object_size 0 KB
#cache_swap_low 90
#cache_swap_high 95
#cache_dir ufs /var/spool/squid 2048 16 256
#cache_access_log /var/log/squid/access.log
#refresh_pattern ^ftp: 15 20% 2280
#refresh_pattern ^gopher: 15 0% 2280
#refresh_pattern . 15 20% 2280
####################################################################
#acl all src 0.0.0.0/0.0.0.0
#acl manager proto cache_object
#acl localhost src 127.0.0.1/255.255.255.255
#acl SSL_ports port 443 563
#acl Safe_ports port 80 21 143 443 563 70 210 280 488 59 591 777 901 1494 1012-65535 25 110 995
#acl purge method PURGE
#acl CONNECT method CONNECT
#####################################################################
#http_access allow manager localhost
#http_access deny manager
#http_access allow purge localhost
#http_access deny purge
#http_access deny !Safe_ports
#http_access deny CONNECT !SSL_ports
######################################################################
#auth_param basic realm Squid
#auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
#acl autenticados proxy_auth REQUIRED
#http_access allow autenticados
#acl redelocal src 192.168.18.0/24
#http_access allow localhost
#http_access allow redelocal

proxy-rm:~# cat /var/log/squid/cache.log
2009/09/15 07:35:21| storeDirWriteCleanLogs: Starting...
2009/09/15 07:35:21| Finished. Wrote 0 entries.
2009/09/15 07:35:21| Took 0.0 seconds ( 0.0 entries/sec).
2009/09/15 07:35:21| logfileRotate: /var/log/squid/store.log
2009/09/15 07:35:21| logfileRotate (stdio): /var/log/squid/store.log
2009/09/15 09:46:56| Preparing for shutdown after 39 requests
2009/09/15 09:46:56| Waiting 30 seconds for active connections to finish
2009/09/15 09:46:56| FD 12 Closing HTTP connection
2009/09/15 09:47:15| Shutting down...
2009/09/15 09:47:15| FD 13 Closing ICP connection
2009/09/15 09:47:15| Closing unlinkd pipe on FD 10
2009/09/15 09:47:15| storeDirWriteCleanLogs: Starting...
2009/09/15 09:47:15| Finished. Wrote 0 entries.
2009/09/15 09:47:15| Took 0.0 seconds ( 0.0 entries/sec).
CPU Usage: 0.048 seconds = 0.016 user + 0.032 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 2
Memory usage for squid via mallinfo():
total space in arena: 2224 KB
Ordinary blocks: 2093 KB 15 blks
Small blocks: 0 KB 5 blks
Holding blocks: 280 KB 1 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 130 KB
Total in use: 2373 KB 95%
Total free: 130 KB 5%
2009/09/15 09:47:15| logfileClose: closing log /var/log/squid/store.log
2009/09/15 09:47:15| Squid Cache (Version 2.7.STABLE3): Exiting normally.
2009/09/15 09:47:18| Starting Squid Cache version 2.7.STABLE3 for i386-debian-linux-gnu...
2009/09/15 09:47:18| Process ID 4396
2009/09/15 09:47:18| With 1024 file descriptors available
2009/09/15 09:47:18| Using epoll for the IO loop
2009/09/15 09:47:18| DNS Socket created at 0.0.0.0, port 57559, FD 6
2009/09/15 09:47:18| Adding nameserver 201.10.128.2 from /etc/resolv.conf
2009/09/15 09:47:18| Adding nameserver 201.10.1.2 from /etc/resolv.conf
2009/09/15 09:47:18| User-Agent logging is disabled.
2009/09/15 09:47:18| Referer logging is disabled.
2009/09/15 09:47:18| Unlinkd pipe opened on FD 10
2009/09/15 09:47:18| Swap maxSize 102400 KB, estimated 7876 objects
2009/09/15 09:47:18| Target number of buckets: 393
2009/09/15 09:47:18| Using 8192 Store buckets
2009/09/15 09:47:18| Max Mem size: 8192 KB
2009/09/15 09:47:18| Max Swap size: 102400 KB
2009/09/15 09:47:18| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2009/09/15 09:47:18| logfileOpen: opening log /var/log/squid/store.log
2009/09/15 09:47:18| Rebuilding storage in /var/spool/squid (CLEAN)
2009/09/15 09:47:18| Using Least Load store dir selection
2009/09/15 09:47:18| Current Directory is /
2009/09/15 09:47:18| Loaded Icons.
2009/09/15 09:47:18| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 12.
2009/09/15 09:47:18| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
2009/09/15 09:47:18| HTCP Disabled.
2009/09/15 09:47:18| WCCP Disabled.
2009/09/15 09:47:18| Ready to serve requests.
2009/09/15 09:47:18| Done reading /var/spool/squid swaplog (0 entries)
2009/09/15 09:47:18| Finished rebuilding storage from disk.
2009/09/15 09:47:18| 0 Entries scanned
2009/09/15 09:47:18| 0 Invalid entries.
2009/09/15 09:47:18| 0 With invalid flags.
2009/09/15 09:47:18| 0 Objects loaded.
2009/09/15 09:47:18| 0 Objects expired.
2009/09/15 09:47:18| 0 Objects cancelled.
2009/09/15 09:47:18| 0 Duplicate URLs purged.
2009/09/15 09:47:18| 0 Swapfile clashes avoided.
2009/09/15 09:47:18| Took 0.3 seconds ( 0.0 objects/sec).
2009/09/15 09:47:18| Beginning Validation Procedure
2009/09/15 09:47:18| Completed Validation Procedure
2009/09/15 09:47:18| Validated 0 Entries
2009/09/15 09:47:18| store_swap_size = 0k
2009/09/15 09:47:19| storeLateRelease: released 0 objects
2009/09/15 10:19:24| Preparing for shutdown after 177 requests
2009/09/15 10:19:24| Waiting 30 seconds for active connections to finish
2009/09/15 10:19:24| FD 12 Closing HTTP connection
2009/09/15 10:19:34| Shutting down...
2009/09/15 10:19:34| FD 13 Closing ICP connection
2009/09/15 10:19:34| Closing unlinkd pipe on FD 10
2009/09/15 10:19:34| storeDirWriteCleanLogs: Starting...
2009/09/15 10:19:34| Finished. Wrote 0 entries.
2009/09/15 10:19:34| Took 0.0 seconds ( 0.0 entries/sec).
CPU Usage: 0.048 seconds = 0.016 user + 0.032 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 2228 KB
Ordinary blocks: 2095 KB 27 blks
Small blocks: 0 KB 5 blks
Holding blocks: 280 KB 1 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 132 KB
Total in use: 2375 KB 95%
Total free: 132 KB 5%
2009/09/15 10:19:34| logfileClose: closing log /var/log/squid/store.log
2009/09/15 10:19:34| Squid Cache (Version 2.7.STABLE3): Exiting normally.
2009/09/15 10:20:14| Starting Squid Cache version 2.7.STABLE3 for i386-debian-linux-gnu...
2009/09/15 10:20:14| Process ID 2358
2009/09/15 10:20:14| With 1024 file descriptors available
2009/09/15 10:20:14| Using epoll for the IO loop
2009/09/15 10:20:14| DNS Socket created at 0.0.0.0, port 45142, FD 6
2009/09/15 10:20:14| Adding nameserver 201.10.128.2 from /etc/resolv.conf
2009/09/15 10:20:14| Adding nameserver 201.10.1.2 from /etc/resolv.conf
2009/09/15 10:20:14| User-Agent logging is disabled.
2009/09/15 10:20:14| Referer logging is disabled.
2009/09/15 10:20:14| Unlinkd pipe opened on FD 10
2009/09/15 10:20:14| Swap maxSize 102400 KB, estimated 7876 objects
2009/09/15 10:20:14| Target number of buckets: 393
2009/09/15 10:20:14| Using 8192 Store buckets
2009/09/15 10:20:14| Max Mem size: 8192 KB
2009/09/15 10:20:14| Max Swap size: 102400 KB
2009/09/15 10:20:14| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2009/09/15 10:20:14| logfileOpen: opening log /var/log/squid/store.log
2009/09/15 10:20:14| Rebuilding storage in /var/spool/squid (CLEAN)
2009/09/15 10:20:14| Using Least Load store dir selection
2009/09/15 10:20:14| Current Directory is /
2009/09/15 10:20:14| Loaded Icons.
2009/09/15 10:20:15| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 12.
2009/09/15 10:20:15| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
2009/09/15 10:20:15| HTCP Disabled.
2009/09/15 10:20:15| WCCP Disabled.
2009/09/15 10:20:15| Ready to serve requests.
2009/09/15 10:20:15| Done reading /var/spool/squid swaplog (0 entries)
2009/09/15 10:20:15| Finished rebuilding storage from disk.
2009/09/15 10:20:15| 0 Entries scanned
2009/09/15 10:20:15| 0 Invalid entries.
2009/09/15 10:20:15| 0 With invalid flags.
2009/09/15 10:20:15| 0 Objects loaded.
2009/09/15 10:20:15| 0 Objects expired.
2009/09/15 10:20:15| 0 Objects cancelled.
2009/09/15 10:20:15| 0 Duplicate URLs purged.
2009/09/15 10:20:15| 0 Swapfile clashes avoided.
2009/09/15 10:20:15| Took 1.3 seconds ( 0.0 objects/sec).
2009/09/15 10:20:15| Beginning Validation Procedure
2009/09/15 10:20:15| Completed Validation Procedure
2009/09/15 10:20:15| Validated 0 Entries
2009/09/15 10:20:15| store_swap_size = 0k
2009/09/15 10:20:16| storeLateRelease: released 0 objects
proxy-rm:~#
proxy-rm:~# cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.18.53
netmask 255.255.255.0
network 192.168.18.0
broadcast 192.168.18.255
gateway 192.168.18.12


proxy-rm:~# cat /etc/squid/squid.conf
#acl METAFRAME url_regex -i metaframe.minerva.ind.br
#http_access allow METAFRAME
http_port 3128
visible_hostname proxy-rm
acl all src 0.0.0.0/0.0.0.0
http_access allow all
#error_directory /usr/share/squid/errors/Portuguese/
##################################################################
#cache_mem 300 MB
#maximum_object_size_in_memory 64 KB
#maximum_object_size 256 MB
#minimum_object_size 0 KB
#cache_swap_low 90
#cache_swap_high 95
#cache_dir ufs /var/spool/squid 2048 16 256
#cache_access_log /var/log/squid/access.log
#refresh_pattern ^ftp: 15 20% 2280
#refresh_pattern ^gopher: 15 0% 2280
#refresh_pattern . 15 20% 2280
####################################################################
#acl all src 0.0.0.0/0.0.0.0
#acl manager proto cache_object
#acl localhost src 127.0.0.1/255.255.255.255
#acl SSL_ports port 443 563
#acl Safe_ports port 80 21 143 443 563 70 210 280 488 59 591 777 901 1494 1012-65535 25 110 995
#acl purge method PURGE
#acl CONNECT method CONNECT
#####################################################################
#http_access allow manager localhost
#http_access deny manager
#http_access allow purge localhost
#http_access deny purge
#http_access deny !Safe_ports
#http_access deny CONNECT !SSL_ports
######################################################################
#auth_param basic realm Squid
#auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
#acl autenticados proxy_auth REQUIRED
#http_access allow autenticados
#acl redelocal src 192.168.18.0/24
#http_access allow localhost
#http_access allow redelocal

proxy-rm:~# cat /var/log/squid/cache.log
2009/09/15 07:35:21| storeDirWriteCleanLogs: Starting...
2009/09/15 07:35:21| Finished. Wrote 0 entries.
2009/09/15 07:35:21| Took 0.0 seconds ( 0.0 entries/sec).
2009/09/15 07:35:21| logfileRotate: /var/log/squid/store.log
2009/09/15 07:35:21| logfileRotate (stdio): /var/log/squid/store.log
2009/09/15 09:46:56| Preparing for shutdown after 39 requests
2009/09/15 09:46:56| Waiting 30 seconds for active connections to finish
2009/09/15 09:46:56| FD 12 Closing HTTP connection
2009/09/15 09:47:15| Shutting down...
2009/09/15 09:47:15| FD 13 Closing ICP connection
2009/09/15 09:47:15| Closing unlinkd pipe on FD 10
2009/09/15 09:47:15| storeDirWriteCleanLogs: Starting...
2009/09/15 09:47:15| Finished. Wrote 0 entries.
2009/09/15 09:47:15| Took 0.0 seconds ( 0.0 entries/sec).
CPU Usage: 0.048 seconds = 0.016 user + 0.032 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 2
Memory usage for squid via mallinfo():
total space in arena: 2224 KB
Ordinary blocks: 2093 KB 15 blks
Small blocks: 0 KB 5 blks
Holding blocks: 280 KB 1 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 130 KB
Total in use: 2373 KB 95%
Total free: 130 KB 5%
2009/09/15 09:47:15| logfileClose: closing log /var/log/squid/store.log
2009/09/15 09:47:15| Squid Cache (Version 2.7.STABLE3): Exiting normally.
2009/09/15 09:47:18| Starting Squid Cache version 2.7.STABLE3 for i386-debian-linux-gnu...
2009/09/15 09:47:18| Process ID 4396
2009/09/15 09:47:18| With 1024 file descriptors available
2009/09/15 09:47:18| Using epoll for the IO loop
2009/09/15 09:47:18| DNS Socket created at 0.0.0.0, port 57559, FD 6
2009/09/15 09:47:18| Adding nameserver 201.10.128.2 from /etc/resolv.conf
2009/09/15 09:47:18| Adding nameserver 201.10.1.2 from /etc/resolv.conf
2009/09/15 09:47:18| User-Agent logging is disabled.
2009/09/15 09:47:18| Referer logging is disabled.
2009/09/15 09:47:18| Unlinkd pipe opened on FD 10
2009/09/15 09:47:18| Swap maxSize 102400 KB, estimated 7876 objects
2009/09/15 09:47:18| Target number of buckets: 393
2009/09/15 09:47:18| Using 8192 Store buckets
2009/09/15 09:47:18| Max Mem size: 8192 KB
2009/09/15 09:47:18| Max Swap size: 102400 KB
2009/09/15 09:47:18| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2009/09/15 09:47:18| logfileOpen: opening log /var/log/squid/store.log
2009/09/15 09:47:18| Rebuilding storage in /var/spool/squid (CLEAN)
2009/09/15 09:47:18| Using Least Load store dir selection
2009/09/15 09:47:18| Current Directory is /
2009/09/15 09:47:18| Loaded Icons.
2009/09/15 09:47:18| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 12.
2009/09/15 09:47:18| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
2009/09/15 09:47:18| HTCP Disabled.
2009/09/15 09:47:18| WCCP Disabled.
2009/09/15 09:47:18| Ready to serve requests.
2009/09/15 09:47:18| Done reading /var/spool/squid swaplog (0 entries)
2009/09/15 09:47:18| Finished rebuilding storage from disk.
2009/09/15 09:47:18| 0 Entries scanned
2009/09/15 09:47:18| 0 Invalid entries.
2009/09/15 09:47:18| 0 With invalid flags.
2009/09/15 09:47:18| 0 Objects loaded.
2009/09/15 09:47:18| 0 Objects expired.
2009/09/15 09:47:18| 0 Objects cancelled.
2009/09/15 09:47:18| 0 Duplicate URLs purged.
2009/09/15 09:47:18| 0 Swapfile clashes avoided.
2009/09/15 09:47:18| Took 0.3 seconds ( 0.0 objects/sec).
2009/09/15 09:47:18| Beginning Validation Procedure
2009/09/15 09:47:18| Completed Validation Procedure
2009/09/15 09:47:18| Validated 0 Entries
2009/09/15 09:47:18| store_swap_size = 0k
2009/09/15 09:47:19| storeLateRelease: released 0 objects
2009/09/15 10:19:24| Preparing for shutdown after 177 requests
2009/09/15 10:19:24| Waiting 30 seconds for active connections to finish
2009/09/15 10:19:24| FD 12 Closing HTTP connection
2009/09/15 10:19:34| Shutting down...
2009/09/15 10:19:34| FD 13 Closing ICP connection
2009/09/15 10:19:34| Closing unlinkd pipe on FD 10
2009/09/15 10:19:34| storeDirWriteCleanLogs: Starting...
2009/09/15 10:19:34| Finished. Wrote 0 entries.
2009/09/15 10:19:34| Took 0.0 seconds ( 0.0 entries/sec).
CPU Usage: 0.048 seconds = 0.016 user + 0.032 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
total space in arena: 2228 KB
Ordinary blocks: 2095 KB 27 blks
Small blocks: 0 KB 5 blks
Holding blocks: 280 KB 1 blks
Free Small blocks: 0 KB
Free Ordinary blocks: 132 KB
Total in use: 2375 KB 95%
Total free: 132 KB 5%
2009/09/15 10:19:34| logfileClose: closing log /var/log/squid/store.log
2009/09/15 10:19:34| Squid Cache (Version 2.7.STABLE3): Exiting normally.
2009/09/15 10:20:14| Starting Squid Cache version 2.7.STABLE3 for i386-debian-linux-gnu...
2009/09/15 10:20:14| Process ID 2358
2009/09/15 10:20:14| With 1024 file descriptors available
2009/09/15 10:20:14| Using epoll for the IO loop
2009/09/15 10:20:14| DNS Socket created at 0.0.0.0, port 45142, FD 6
2009/09/15 10:20:14| Adding nameserver 201.10.128.2 from /etc/resolv.conf
2009/09/15 10:20:14| Adding nameserver 201.10.1.2 from /etc/resolv.conf
2009/09/15 10:20:14| User-Agent logging is disabled.
2009/09/15 10:20:14| Referer logging is disabled.
2009/09/15 10:20:14| Unlinkd pipe opened on FD 10
2009/09/15 10:20:14| Swap maxSize 102400 KB, estimated 7876 objects
2009/09/15 10:20:14| Target number of buckets: 393
2009/09/15 10:20:14| Using 8192 Store buckets
2009/09/15 10:20:14| Max Mem size: 8192 KB
2009/09/15 10:20:14| Max Swap size: 102400 KB
2009/09/15 10:20:14| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2009/09/15 10:20:14| logfileOpen: opening log /var/log/squid/store.log
2009/09/15 10:20:14| Rebuilding storage in /var/spool/squid (CLEAN)
2009/09/15 10:20:14| Using Least Load store dir selection
2009/09/15 10:20:14| Current Directory is /
2009/09/15 10:20:14| Loaded Icons.
2009/09/15 10:20:15| Accepting proxy HTTP connections at 0.0.0.0, port 3128, FD 12.
2009/09/15 10:20:15| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
2009/09/15 10:20:15| HTCP Disabled.
2009/09/15 10:20:15| WCCP Disabled.
2009/09/15 10:20:15| Ready to serve requests.
2009/09/15 10:20:15| Done reading /var/spool/squid swaplog (0 entries)
2009/09/15 10:20:15| Finished rebuilding storage from disk.
2009/09/15 10:20:15| 0 Entries scanned
2009/09/15 10:20:15| 0 Invalid entries.
2009/09/15 10:20:15| 0 With invalid flags.
2009/09/15 10:20:15| 0 Objects loaded.
2009/09/15 10:20:15| 0 Objects expired.
2009/09/15 10:20:15| 0 Objects cancelled.
2009/09/15 10:20:15| 0 Duplicate URLs purged.
2009/09/15 10:20:15| 0 Swapfile clashes avoided.
2009/09/15 10:20:15| Took 1.3 seconds ( 0.0 objects/sec).
2009/09/15 10:20:15| Beginning Validation Procedure
2009/09/15 10:20:15| Completed Validation Procedure
2009/09/15 10:20:15| Validated 0 Entries
2009/09/15 10:20:15| store_swap_size = 0k
2009/09/15 10:20:16| storeLateRelease: released 0 objects
proxy-rm:~#
bem como solicitou acima esta o:
/etc/network/interfaces
/etc/squid/squid.conf
/var/log/squid/cache.log

lembrando: Ja existe um proxy na rede que esta no gateway (192.168.18.12) so estou querendo criar outro, na configuração dos clientes estou colocando o servidor de proxy 192.168.18.53:3128 (ja tentei mudar a porta tambem tanto no squid.conf quanto na configuração do cliente, mas não deu certo), e os ips do cliente estão
ip:192.168.18.xx
mascara:255.255.255.0
gateway:192.168.18.12
dns: 192.168.18.22
dns: 201.10.128.2


no aguardo de respostas. valeu galera.
bem como solicitou acima esta o:
/etc/network/interfaces
/etc/squid/squid.conf
/var/log/squid/cache.log

lembrando: Ja existe um proxy na rede que esta no gateway (192.168.18.12) so estou querendo criar outro, na configuração dos clientes estou colocando o servidor de proxy 192.168.18.53:3128 (ja tentei mudar a porta tambem tanto no squid.conf quanto na configuração do cliente, mas não deu certo), e os ips do cliente estão
ip:192.168.18.xx
mascara:255.255.255.0
gateway:192.168.18.12
dns: 192.168.18.22
dns: 201.10.128.2


no aguardo de respostas. valeu galera.
O squid parece estar carregado normalmente, dê uma olhada em /var/log/squid/access.log, o que é apresentado no momento do acesso. Veja também se a porta do squid aparece com o comando:

netstat -ntpl
O squid parece estar carregado normalmente, dê uma olhada em /var/log/squid/access.log, o que é apresentado no momento do acesso. Veja também se a porta do squid aparece com o comando:

netstat -ntpl
a porta consta no comando netstat sim.

não sei porque mas ele não criou o arquivo /var/log/squid/access.log e sim /var/log/squid/access.log.1 que não contem nada dentro, apenas as primeiras tentativas de acesso da semana passada,

proxy-rm:/var/log/squid# cat /var/log/squid/access.log.1
1252440586.807 0 118.168.134.222 TCP_DENIED/403 1456 CONNECT mailb.burst.idv.tw:25 - NONE/- text/html
1252508165.874 0 192.168.18.29 TCP_DENIED/407 1746 GET http://www.uol.com.br/ - NONE/- text/html
1252508189.822 21754 192.168.18.29 TCP_MISS/000 0 GET http://www.uol.com.br/ davi DIRECT/www.uol.com.br -
1252508197.842 4985 192.168.18.29 TCP_MISS/000 0 GET http://www.minerva.ind.br/ davi DIRECT/www.minerva.ind.br -
1252508243.906 1092 192.168.18.29 TCP_MISS/000 0 GET http://www.minerva.ind.br/ davi DIRECT/www.minerva.ind.br -
1252508266.938 19735 192.168.18.29 TCP_MISS/000 0 GET http://www.uol.com.br/ davi DIRECT/www.uol.com.br -
1252508273.884 0 192.168.18.29 TCP_DENIED/407 1758 GET http://www.minerva.ind.br/ - NONE/- text/html
1252517558.289 0 192.168.18.29 TCP_DENIED/407 1776 GET http://go.microsoft.com/fwlink/?LinkId=69157 - NONE/- text/html
1252517581.938 21112 192.168.18.29 TCP_MISS/000 0 GET http://go.microsoft.com/fwlink/?LinkId=69157 davi DIRECT/go.microsoft.com -
1252517624.885 0 192.168.18.29 TCP_DENIED/407 1758 GET http://www.minerva.ind.br/ - NONE/- text/html
1252517625.116 0 192.168.18.29 TCP_DENIED/407 1773 GET http://www.live.com/favicon.ico - NONE/- text/html
1252517768.526 140759 192.168.18.29 TCP_MISS/000 0 GET http://www.minerva.ind.br/ teste DIRECT/www.minerva.ind.br -



obs: eu ja instalei o apache, apache2utils, o squidguardian e o sarg, sera que tem algum problema? acredito que não tem nada a ver né.

valeu.
Páginas: 1 2 3
URL de Referência