Search squid archive

Re: [squid-users] Redirection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Barbara,

Make following changes to ur squid.conf 

    http_port 8080
    httpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_uses_host_header on
    httpd_accel_with_proxy on

and make the following prerouting through iptables 

iptables -t nat PREROUTING -i eth1 --port 80 REDIRECT --dport 8080

and make ipforwarding by

echo 1 > /proc/sys/net/ipv4/ip_forward

and u r done.

Regards
dev

    
On 6/4/05, Basia Nowak <basiamnowak@xxxxxxxxxxx> wrote:
> Hi.
> 
> I have small question about squid serwer ;)
> 
> Currently I had 2 servers with public ip addresses.
> Server 'A' is my proxy cache (squid 2.4)
> 
> Server 'B' is a NAT router.
> 
> 
> Both servers is connected via swith to WAN router:
> 
> server 'A' ----> switch <---- server 'B'
> WAN router --------^
> 
> So...
> I would like to force web cache on server 'B'.
> 
> 'A' and 'B' works on linux 2.6 kernel and iptables
> firewall. WAN Router is CISCO router.
> 
> So... any sugestion how I can transparent proxy ? ;)
> I can change routing, but I want to know other way.
> 
> 
> --
> Cheers
> Barbara
> 
> 
> 
> 
> 
> 
> ___________________________________________________________
> Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
>


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux