Fedora Linux Support Community & Resources Center
  #1  
Old 10th October 2008, 07:20 PM
roybfr Offline
Registered User
 
Join Date: Feb 2008
Posts: 5
Disabling Firewall in Kickstart but ports are still not open

I have a live CD I build where I used "firewall --disabled", but once the box has booted I noticed that I could not ssh into the box and found that port 22 was not responding. So I had to enable the firewall, add an exception for port 22 and then I could get in. I also noticed that if I redisabled the firewall I could still get in on port 22 but other ports that were not originally open were still closed (example port 123 for time) even though the firewall was again turned off.

Anyone have any idea as to what this is happening?
Reply With Quote
  #2  
Old 10th October 2008, 09:48 PM
roybfr Offline
Registered User
 
Join Date: Feb 2008
Posts: 5
Never mind I just figured out "firewall --disabled" does not disable iptables form running but instead leaves it at default.
Reply With Quote
  #3  
Old 10th October 2008, 10:41 PM
sideways's Avatar
sideways Offline
Retired User
 
Join Date: Oct 2004
Location: London, UK
Posts: 4,999
the kickstart config is far from intuitive. If you set "selinux --disabled" then the livecd-creator script complains it can't find the 'lokkit' firewall utility - go figure ??

(you can get rid of the error by adding the package system-config-firewall-tui, which just seems silly to me)
Reply With Quote
  #4  
Old 16th October 2008, 04:43 PM
roybfr Offline
Registered User
 
Join Date: Feb 2008
Posts: 5
I agree, I about went Office Space on my computer this past week. For the life of me I could not get
firewall -enabled --ssh or firewall -enabled --port=22:tcp to work. So instead I had to add some iptables entries to the post% part of my kick start script, so still got to where I wanted to in the end just had to take a different route.
Reply With Quote
Reply

Tags
disabling, firewall, kickstart, open, ports

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open ports in firewall to an specific application mbcc Security and Privacy 4 17th January 2008 01:29 PM
How to Open Ports in firewall? Nexum Servers & Networking 10 10th January 2008 03:40 PM
Open range of ports in the firewall? Bruno Security and Privacy 8 5th February 2006 04:43 PM
How to open firewall ports(newbie) elmu Security and Privacy 18 22nd October 2005 02:32 AM
how do i open ports in fc 3's default firewall agentblue Servers & Networking 2 10th April 2005 04:05 PM


Current GMT-time: 06:51 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat