Alright we got this office with red hat 6.1 as a server/firewall. I found this to open ports so something could work for someone but hit a Login to server and su to root. type /usr/sbin/lokkit I get lokkit not a file or directory. Investigating tells me Lokkit is a firewall service. So how can I check if its installed and if not, install it so I can allow ports 20 and 21. Secondly, how can I list services on rh and is there built in port filtering of some sort without needed lokkit? Many thanks.
IIRC, to check if it is installed: > rpm -q lokkit To see what ports are open (if you have nmap installed - likely): > nmap localhost Not sure about other options for port filtering though.
not sure about how to see if it's installed but you could try stopping/restarting the process if lokkit is the name: /etc/rc.d/init.d/lokkit stop /ect/rc.d/init.d/lokkit start see if either of those give errors. past that, I'd say if at all possible, upgrade the os - 6.1 is very old and very vulnerable.
My friend who is a certified linux something replied with this: TCP/IP firewalling + masquerading also known as ipchains the process names are firewall+masq And gave me this link: http://www.bieringer.de/linux/ISDN/scripts.rh61/firewall+masq And this is what I'm doing