[K12OSN] iptables and prerouting for squid

Cory Cartwright corycartwright at sbcglobal.net
Tue Nov 16 03:16:14 UTC 2004


you may have seen this also, but it's worth sending.
http://dansguardian.org/downloads/DGandTransparent.txt

On Mon, 2004-11-15 at 16:31, KJ wrote:
> Hi Adam,
> Yes I have tried that.  I'm sorry I should have mentioned that.  It 
> makes no difference.
> BTW - your howto on the website was most helpful, thanks for your work!
> KJ
> 
> 
> Adam Melancon wrote:
> 
> >Did you try flushing all of the tables first
> >iptables -t nat -F
> >iptables -F
> >Then
> >/sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j
> >REDIRECT --to-port 3128
> >
> >
> >On Mon, 15 Nov 2004 16:22:46 -0500, KJ <ksj2010 at myrealbox.com> wrote:
> >  
> >
> >>Hello all,
> >>I FINALLY have squid/squidguard working.  If I enter 127.0.0.1 port 3128
> >>as my proxy, everything works fine.  The issue that I am having (the
> >>last before deployment, I think) is that I can't get iptables to route
> >>all traffic to port 3128.
> >>When I reinstalled K12 LTSP I made sure to initiate a firewall.  Now I
> >>have entries in iptables for the RH-Firewall chain.  When I enter:
> >>
> >>iptables - t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
> >>--to-port 3128
> >>
> >>nothing happens.  I've tried flushing and re-entering the above
> >>statement, still nothing.
> >>
> >>Any help would be greatly appreciated.
> >>Thanks!
> >>KJ
> >>
> >>_______________________________________________
> >>K12OSN mailing list
> >>K12OSN at redhat.com
> >>https://www.redhat.com/mailman/listinfo/k12osn
> >>For more info see <http://www.k12os.org>
> >>
> >>    
> >>
> >
> >
> >  
> >
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>




More information about the K12OSN mailing list