For Caching:-
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j
REDIRECT --to-port 8080
For Natting:-
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.1.0/24 -d 0/0 -j
MASQUERADE
For Flushing iptable Nat Rules:-
iptables -t nat -F
Entries of "/etc/rc.local" :-
echo 1> /proc/sys/net/ipv4/ip_forward
iptables -t nat -F
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j
REDIRECT --to-port 8080
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.1.0/24 -d 0/0 -j
MASQUERADE
For Saving iptables Rules:-
iptables-save > /opt/iptables_rule
For Restore iptables Rules:-
iptables-restore < /opt/iptables_rule
Thanks and regards,
M.Nauman Habib
----- Original Message -----
From: "Ben" <benja@ultranet2go.net>
To: <squid-users@squid-cache.org>
Sent: Friday, October 28, 2005 7:39 PM
Subject: [squid-users] iptables + wccp
> Hi all,
> What configuration must have iptables for use wccp?
> Suse 9.3
> Kernel 2.6
> Wccp V1
> IOS 12.x
>
> Regards
> Ben
>
>
Received on Fri Oct 28 2005 - 08:49:41 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:05 MST