LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Changing firewall setting in Redhat7.3 (https://www.linuxquestions.org/questions/linux-networking-3/changing-firewall-setting-in-redhat7-3-a-58182/)

yrraja 05-05-2003 06:23 AM

Changing firewall setting in Redhat7.3
 
I have Redhat 7.3. I am unable to change my Firewall settings that were set during the installation. I have tried to change it many times doing the following:

1) type 'setup'
2) select Filewall settings
3) set firewall level to none

press OKs and close the setup. But still ftp and telnet connections are denied. If i go back and check the settings again it shows that it is still set to HIGH.

What am i doing wrong??

Yaser

mychl 05-05-2003 08:23 AM

You really should think about creating your own firewall. RH 7.3 uses ipchains by default, iptables better, IMHO...

To turn off your firewall, use /etc/init.d/ipchains stop

I don't know how to modify the RH settings, but if you decide to go with your own firewall, create a script and replace /etc/init.d/iptables with yours, then uninstall the lokkit and ipchains rpm's. Iptables is already installed, so you should then be able to start you firewall with /etc/init.d/iptables start

HTH

yrraja 05-21-2003 01:45 AM

This is what happened when i tried to switch off the firewall using your method:


[root@localhost /]# /etc/init.d/ipchains stop
Flushing all chains: ipchains: Incompatible with this kernel
[FAILED]
Removing user defined chains: ipchains: Incompatible with this kernel
[FAILED]
Resetting built-in chains to the default ACCEPT policy:ipchains: Protocol not available
[FAILED]
[root@localhost /]#


And no effect on the filewall, i tried to ftp my system and the connection is still refused.

Any comments what went wrong!

Yaser

ppuddick 05-21-2003 02:02 AM

run ntsysv and make sure that iptables, ipchains and possibly even ip6tables (this shouldn't affect it as it for ipv6) do not start at boot time.

I know I'm probably teaching you to suck eggs here but have you made sure that telnet and ftp are started? (Also, what ftp server are you running - vsftpd is the best by a long way).

Also, are you using tcpwrappers? might be an idea if you go into /etc/hosts.allow and /etc/hosts.deny and have a butchers there. If you find anything then comment it out. you can always uncomment it later.

Good Luck. Let me know the results


All times are GMT -5. The time now is 11:27 PM.