[K12OSN] iptables and prerouting for squid
Cory Cartwright
corycartwright at sbcglobal.net
Tue Nov 16 16:37:10 UTC 2004
One easy way to tell is change you PREROUTING to filter based on source
17x.xxx.xxx.xxx/xx instead of -i
good luck!
Cory
On Tue, 2004-11-16 at 11:11, KJ wrote:
> I think it's a great question. eth0 is my internal LAN.
>
> My setup is that I have one LTSP box to serve my 10 computers. It has
> two LAN cards, one is connected to the thin clients and the other is
> connected to my internal LAN (which the teachers are on) The LTSP
> sessions are the ones that I am attempting to route into squidguard.
>
> Maybe this is my problem, I have the requests coming in from the thin
> clients, the server thinks it is coming from itself and routes it out to
> the internet. does that make sense?
>
> thanks again!
> KJ
>
> Cory Cartwright wrote:
>
> >Sorry if this is a dumb question, but is eth0 you internal LAN? Maybe
> >instead specify the address -s 172.x.x.x/xx (put your subnet in) and
> >remove -i eth0
> >
> >Cory
> >
> >
> >
>
> _______________________________________________
> 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