On Fri, 26 Aug 2005 13:33:03 +0200
Pignedoli Luca <[EMAIL PROTECTED]> wrote:

> Ciao a tutti, ho una rete con un proxy interno e volevo configurare il
> firewall in modo che mi rediriga tutte le connessioni sulla porta 80
> alla porta del proxy.

<snippone>

urka che giro hai fatto.

dovrebbe bastarti questo sul fw:

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT \
--to-port 8080

e in squid.conf questo:

http_port 8080
httpd_accel_host virtual 
httpd_accel_port 80 
httpd_accel_with_proxy on 
httpd_accel_uses_host_header on 


ciao,
a.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Rispondere a