bomberLOKO
(usa Ubuntu)
Enviado em 10/08/2015 - 15:00h
Na primeira tentativa nada acontece, google não carrega.
Na segunda também, será meu DNS ou config errada mesmo?
Segue config interfaces
# Recebe Wan - eth1
auto eth1
iface eth1 inet static
address 192.168.0.135
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 200.195.159.101
dns-nameservers 8.8.8.8
# Libera DHCP na LAN - eth0
auto eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
broadcast 192.168.1.25
network 192.168.1.0
dns-nameservers 8.8.8.8
dns-nameservers 200.195.159.101
Segue iptable -L
root@server:/etc/squid3# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
DROP all -- anywhere anywhere STRING match "twitter.com" ALGO name bm TO 65535
DROP all -- anywhere anywhere STRING match "sodexosaldocartao.com" ALGO name bm TO 65535
DROP all -- anywhere anywhere STRING match "facebook.com" ALGO name bm TO 65535
DROP all -- anywhere anywhere STRING match "google.com" ALGO name bm TO 65535
ACCEPT all -- anywhere anywhere destination IP range 192.168.1.200-192.168.1.210
ACCEPT all -- anywhere anywhere source IP range 192.168.1.200-192.168.1.210
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
DROP tcp -- anywhere anywhere tcp dpt:https STRING match "youtube.com" ALGO name bm TO 65535
DROP tcp -- anywhere anywhere tcp dpt:nntps STRING match "youtube.com" ALGO name bm TO 65535
DROP tcp -- anywhere anywhere tcp dpt:http STRING match "youtube.com" ALGO name bm TO 65535
DROP all -- anywhere anywhere STRING match "twitter.com" ALGO name bm TO 65535
DROP all -- anywhere anywhere STRING match "sodexosaldocartao.com" ALGO name bm TO 65535
DROP all -- anywhere anywhere STRING match "facebook.com" ALGO name bm TO 65535
DROP all -- anywhere anywhere STRING match "google.com" ALGO name bm TO 65535
Chain fail2ban-ssh (0 references)
target prot opt source destination