[WBEL-users] iptables - where and how to insert the rules ?

Mário Gamito gamito@netual.pt
Fri, 03 Dec 2004 12:07:01 +0000


Hi,

I'm currently running a development server based on WBEL, with a few 
iptables rules, because i don't want no one except the development team 
to access it.

Well, i have this executable, rc.firewall in /etc, being called form 
/etc/rc.local

I believe this is not the right thing (TM) to do, although it works.

 From what i saw in iptables ctl, the rules should be in 
/etc/sysconfig/iptables, right ?
But when i insert them in that file, i always get an error from 
"/etc/init.d/iptables start", saying it doesn't recognize the text.

Any help about how it should be done ?

Thank you.

Warm Regards.
-- 
Mário Gamito
Administração de sistemas e desenvolvimento
Netual - Multimédia e Telecomunicações, Lda.
Rua João Afonso, Nº1
3800-198 Aveiro - Portugal
Tel. +351 234 371 431 / Fax. +351 234 371 438
E-mail: gamito@netual.pt
www.netual.pt