[NoCat] Allow certain network card to have access.

Aime aklougbo at yahoo.com
Wed, 6 Aug 2003 01:19:56 -0700 (PDT)


if you have no luck with the suggestion of Schuyler,
add one more line as the following:

iptables -t filter -I FORWARD  1  -i eth1 -o eth0 -j
ACCEPT

N.B : Notice the -I FORWARD 1, this inserts the rule
at record 1 (top of table), pushing the NoCat and
other rules down the list.

--Aimé
 



--- Schuyler Erle <schuyler@oreilly.com> wrote:
> On Sun, 3 Aug 2003, James wrote:
> 
> > I have a server which is doing gateway, and auth.
> Thats setup fine, my
> > problem is I have 3 network cards.
> > 
> > The first one provides access to the internet.
> (eth0) The second one
> > provides access to my local network (eth1) The
> third provides access
> > to the wireless ap.  (eth2)
> > 
> > Is there anyway I can make all connections from
> eth1 allowed? I want
> > to be able to completly bypass the NoCat login
> part only for eth1, I
> > still want the login screen for eth2.
> > 
> > Is this posible?, and How?
> 
> Yeah, before executing bin/gateway, execute the
> following commands:
> 
>   iptables -t mangle -A PREROUTING -i eth1 -j MARK
> --set-mark 1
>   iptables -t filter -A FORWARD -o eth1 -j ACCEPT
> 
> That should excuse eth1 from having to login.
> 
> SDE
> 
> 
> _______________________________________________
> NoCat mailing list
> NoCat@lists.nocat.net
> http://lists.nocat.net/mailman/listinfo/nocat


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com