On Mon, 25 Nov 2002, Yoink! wrote:

> On Mon, 25 Nov 2002, Mike Burger wrote:
> > On Mon, 25 Nov 2002, Yoink! wrote:
> > > On Sun, 24 Nov 2002, Will Phipps wrote:
> > > > Does anyone know the entry that I need to put into iptables to allow
> > > > samba access?
> > >
> > > iptables -I INPUT 1 -o ethX -p tcp --dport 137:139 -j ACCEPT
> >
> > FWIW, that should be -i ethX (incoming to interface ethx), and what is the
> > "1" for?
> 
> X is a variable, meaning whatever interface number you want to allow it
> on.
> 
> 1 means it's the first rule in the chain.

Interesting on the rule numbering.  I'm guessing, then, that you're using 
-I to insert that rule at the first spot?

On the other part, I meant -i vs -o.  Since they want to accept 
connections, not forward them on, it would seem that -i would be more 
appropriate. 

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to