LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-05-2003, 06:23 AM   #1
yrraja
Member
 
Registered: Sep 2002
Distribution: RH, FC, Ubuntu, Solaris, AIX
Posts: 114

Rep: Reputation: 15
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
 
Old 05-05-2003, 08:23 AM   #2
mychl
Member
 
Registered: Jul 2001
Location: Earth
Posts: 164

Rep: Reputation: 30
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
 
Old 05-21-2003, 01:45 AM   #3
yrraja
Member
 
Registered: Sep 2002
Distribution: RH, FC, Ubuntu, Solaris, AIX
Posts: 114

Original Poster
Rep: Reputation: 15
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
 
Old 05-21-2003, 02:02 AM   #4
ppuddick
Member
 
Registered: Feb 2001
Location: UK
Distribution: Ubuntu 9.10. Debian 5, RHEL 5.3
Posts: 66

Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem changing the video adapter setting and changing the screen resolution habiblove Linux - General 3 02-18-2006 05:10 PM
Problem remotly changing firewall rules through a webpage vesperatus Linux - Networking 3 09-08-2005 02:13 PM
setting the firewall one_ro SUSE / openSUSE 2 02-17-2005 05:10 PM
Changing locale setting. kponenation Slackware 3 02-17-2005 04:17 PM
Setting up a firewall myguest Linux - Security 5 08-02-2004 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration