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.

-- 
\ \/ / _       |~\  _ In God We Trust. All Others Pay Cash.
 >  < / \|\  /|+-< | |   "The world is a comedy to those that think,
/ /\ \\_/| \/ ||__)|_|    a tragedy to those who feel." - Horace Walpole



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

Reply via email to