[K12OSN] Re: transparent-proxying (again)
John Jenkins
goblin at scooter.co.nz
Thu Feb 21 10:22:41 UTC 2008
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 at gmail.com> wrote:
>> What's odd is that after starting the transparent-proxing service,
>> iptables -L shows no rules at all.
>>
>> [root at 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
More information about the K12OSN
mailing list