Thanks, By now I have solved it.
> iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
> --to-port 3128
Which side is eth0 pointing to? LAN or Internet? If it's the Internet side
then you need to change the above to the LAN side.
U R RIGHT. eth0 is connected to INTERNET.
On Tue June 12 2007 03:50, Indunil Jayasooriya wrote:
> And, Then, I did below command.
>
> iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
> --to-port 3128
Which side is eth0 pointing to? LAN or Internet? If it's the Internet side
then you need to change the above to th
Hi ALL,
I want to setup Transpaent Proxy on the box running iptables Firewall.
With iptables, I have given below rules.
iptables -F INPUT
iptables -F OUTPUT
iptables -F FORWARD
iptables -F -t nat
iptables -F -t mangle
#Enabling ip forwarding
echo "1" > /proc/sys/net/ipv4/ip_forward
#enable s
3 matches
Mail list logo