de forma alguma.... setar o DNS nao altera as funcionalidades do squid
Versão Imprimível
de forma alguma.... setar o DNS nao altera as funcionalidades do squid
o meu tb nao ta funfando nao....e olha que tb ja setei o gateway....veja a saida do ipconfig
Sufixo DNS específico de conexão . :
Endereço IP. . . . . . . . . . . . : 10.1.1.50
Máscara de sub-rede. . . . . . . . : 255.255.255.0
Gateway padrão . . . . . . . . . . : 10.1.1.249
10.1.1.249 = placa de rede da maquina linux
Abraço
Tentem essas regras...
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
IPT=/sbin/iptables
echo "1" > /proc/sys/net/ipv4/ip_forward
$IPT -F
$IPT -t nat -F
$IPT -t nat -A POSTROUTING -s 192.168.3.0/24 -o eth1 -j MASQUERADE
$IPT -t nat -A PREROUTING -i eth0 -s 192.168.3.0/24 -p tcp --dport 80 -j REDIRECT --to-port 3128
$IPT -t nat -A PREROUTING -s localhost -p tcp --dport 80 -j REDIRECT --to-port 3128
beleza Jim....funcionou beleza
Abraços
/24 vai para 192.168.*.*
/16 vai para 192.168.0.*
pense bem... se nao sabe use /255.255.255.0