need help with firewall in RH9

mcveigh

Diamond Member
Dec 20, 2000
6,457
6
81
OK I installed RH9, I usually don't setup any firewalling rules as this nox sits behind a firewall, but this box is in the DMZ now.
I want to allow my local windows boxes to connect to SAMBA but I think the firewall is blocking it.

what firewall rules does rh9 use? iptables, ipchains? something else?

 

lowtech1

Diamond Member
Mar 9, 2000
4,644
1
0

RH can use IPchains, IP6tables, or IPtables.

To use IPtables IPchains & IP6tables has to be turn off:

services ipchains off

services ip6tables off

services iptables start

See "The Official Red Hat Linux Security Guide" and/or "The Official Red Hat Linux Reference Guide" HTML or PDF for informations.
 

mcveigh

Diamond Member
Dec 20, 2000
6,457
6
81
I know it can use them all but what does it use by default?

EDIT: OK service ipchains stop...turns off ipchains so that's what it seems to be using but "ipchains --version" show nothign for ipchains but "iptables --version" returns 1.27a.

I can't find anything in /etc/ for a ipsomethign config file
 

Tiger

Platinum Member
Oct 9, 1999
2,312
0
0
Give Guarddog a try.
It's an GUI iptables config utility that will let you write custom rules.
I've used it and it works well.
 

Panther505

Senior member
Oct 5, 2000
560
0
0
the file that it reads is in /etc/sysconfig and it is iptables .... cat it and you will get a list of what lokkit has setup. allow port 139(I think) and then in your smb.conf set it to allow connections only from your local network / subnet (192.168.0.0/24) and you should be good.

Panther.
 

mcveigh

Diamond Member
Dec 20, 2000
6,457
6
81
Originally posted by: Panther505
the file that it reads is in /etc/sysconfig and it is iptables .... cat it and you will get a list of what lokkit has setup. allow port 139(I think) and then in your smb.conf set it to allow connections only from your local network / subnet (192.168.0.0/24) and you should be good.

Panther.

much grass :)

Tiger I'll also check into guard dog :beer: