Hello Khalid,
I tried to configure the ipchains as mentioned by you but it gives message
"no target by that name".I have also tried to use
rc.firewall script as mentioned in faqs (point 17)but doesnt work .I am
running squid on port 8080 .Accelerator mode is started with proxy on.The
source and destination ip address is the cache engine ip address.When I
point my browser to port 8080 of squid the hits are shown in the
access.log.What could be the problem.
Squid.conf file as below
http_port 8080
cache_mem 256 MB
cache_dir ufs /var/spool/squid 6500 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
http_access allow all
cache_mgr root
cache_effective_user squid
cache_effective_group squid
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
Thanks,
Regards
Prashant
-----Original Message-----
From: Khalid Mahmood [mailto:ducatio@wtmeca.net]
Sent: Thursday, June 14, 2001 3:19 PM
To: sprashant@rolta.com
Subject: Re: [squid-users] Problem with Configuring squid with Cisco IOS
12.1(6)
have u applied ipchains rules for 80 8080 port redirection in ur Linux box
and have u enabeled ur RedHat box IPForwarding ?
u can enable forwarding by 'echo 1 >> /proc/sys/net/ipv4/ip_forward'
and u should have ipchains rule 'ipchains -A input -p TCP -s 0/0 -d 0/0
80 -j 8080' for squid
u can customize the source and destination IPs.
Regardsm
Khalid
----- Original Message -----
From: "Prashant Shanbhag" <sprashant@rolta.com>
To: <squid-users@squid-cache.org>
Sent: Thursday, June 14, 2001 2:51 PM
Subject: [squid-users] Problem with Configuring squid with Cisco IOS 12.1(6)
>
> Hello,
> We have configured the squid on Red hat linux 6.2.Squid version 2.3 stable
1
> and trying to use it the proxy mode.
> I am using the following configuration and have tried all the options
> mentioned in the faqs
>
> 1)
> route-map proxy-redirect permit 10
> match ip address 110
> set ip next-hop 203.24.133.2
>
> access-list 110 deny tcp any any neq www
> access-list 110 deny tcp host 203.24.133.2 any
> access-list 110 permit tcp any any
>
>
> interface Ethernet0
> ip policy route-map proxy-redirect
>
>
> 2)access-list 110 deny tcp host 10.1.2.3 any
> access-list 110 permit tcp any any eq www
> access-list 110 deny tcp any any
>
>
>
> In place of the ip address 203.24.133.2 I have replaced my cache engine ip
> address.When I am checking access log on the squid I do not find any
> redirection from Router coming here.Can anyone guide as to what could be
the
> problem and provide the solution therof.
>
> Thanks in advance.
>
> Regards
> Prashant Shanbhag
>
Received on Sat Jun 16 2001 - 05:04:29 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:46 MST