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

Re: [K12OSN] Re: transparent-proxying (again)



Peter Hartmann wrote:
Thanks anyway....I had a squid problem but worked it out.

P


On Wed, Feb 20, 2008 at 6:04 PM, Peter Hartmann <ascensiontech gmail com> wrote:
What's odd is that after starting the transparent-proxing service,
 iptables -L shows no rules at all.

 [root k12linux ~]# iptables -L
 Chain INPUT (policy ACCEPT)
 target     prot opt source               destination

 Chain FORWARD (policy ACCEPT)
 target     prot opt source               destination

 Chain OUTPUT (policy ACCEPT)
 target     prot opt source               destination

 I've tried it by hand.
 /sbin/iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3128

If you want to see the nat table you'll need to tell it so :)

Try this
iptables -L -t nat

John


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