-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 12 January 2002 11:56 am, Kjetil Tjensvold wrote:
> Hi.
> I can't give any iptables command because the device
> or iptables are busy.
> I want to open the ports 137:139 for samba.
> The question is how to give the proper iptables command.

You probably have an ipchains firewall setup. You can use either ipchains 
or iptables, but not both. If you are using the default firewall included 
with Red Hat Linux 7.2, it is ipchains based.
You can configure it by running /usr/sbin/lokkit as root.

You can convert to iptables, which will require stopping ipchains with:
/sbin/service ipchains stop
Prevent ipchains from starting on reboot with:
/sbin/chkconfig ipchains off
Remove all ipchains related modules:
/sbin/rmmod ipchains
(/sbin/lsmod to list all loaded modules. You'll have to remove all 
ipchains related modules.)
/sbin/modprobe ip_tables should now load the ip_tables module without 
complaint.

You can then begin configuring an iptables based firewall.
Note that after doing the above to stop ipchains, your machine will be 
wide open to abuse untill the new firewall is up and running.

You can search the list archives for iptables firewall related links. A 
few that come to mind quickly:
http://www.linuxguruz.org/iptables/
http://www.sentry.net/~obsid/IPTables/rc.scripts.dir/current/
http://netfilter.samba.org/

Hope that helps,

- -D

- -- 

pgp key:  http://www.tuxfan.homeip.net:8080/pgpkey.txt

- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QHPSeMAUbzJhSVcRAq3QAKCtAVtyjzOLeugpPPT0AeE5S1oeJQCfR+LZ
qJAtls4VCnFrLDTokJzyEXY=
=N/Iv
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to