Fedora Linux Support Community & Resources Center
  #1  
Old 27th January 2013, 05:40 PM
DupermanDave Offline
Registered User
 
Join Date: Mar 2011
Posts: 56
linuxopera
Disabling firewall in F18

I just installed Fedora 18 and I'm troubleshooting samba/network connections and I need to disable the firewall. However, I see no option to do this in the firewall settings tool. I'm using the KDE spin.

How do I permanently disable the firewall?
Reply With Quote
  #2  
Old 28th January 2013, 10:37 AM
h4ihappen Offline
Registered User
 
Join Date: Jan 2013
Location: AtHome
Posts: 11
windows_7chrome
Re: Disabling firewall in F18

As root:

Code:
 /etc/init.d/iptables save
 /etc/init.d/iptables stop

Turn off firewall on boot:

Code:
 chkconfig iptables off
Reply With Quote
  #3  
Old 28th January 2013, 10:54 AM
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,634
linuxfedorafirefox
Re: Disabling firewall in F18

Try
PHP Code:
systemctl stop firewalld.service 
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #4  
Old 28th January 2013, 04:32 PM
DupermanDave Offline
Registered User
 
Join Date: Mar 2011
Posts: 56
windows_7firefox
Re: Disabling firewall in F18

Quote:
Originally Posted by glennzo View Post
Try
PHP Code:
systemctl stop firewalld.service 
I'll give that a go and see how it works. Why was the option removed from the graphical interface?
Reply With Quote
  #5  
Old 28th January 2013, 06:02 PM
bbfuller Offline
Registered User
 
Join Date: Jun 2005
Location: UK
Posts: 4,359
linuxopera
Re: Disabling firewall in F18

The firewall gui is still installed with a KDE desktop installation - from DVD.

Oddly, it's migrated from the "Administration" part of the menu where it used to be, to "Settings".

Code:
firewall-config
from the command line brings it up as well.
Reply With Quote
  #6  
Old 28th January 2013, 06:17 PM
pnelsonsr Offline
Registered User
 
Join Date: Jan 2007
Location: WA
Posts: 185
windows_7chrome
Re: Disabling firewall in F18

Yeah this one drove me crazy for a bit. I just used yum to erase firewalld and firewall-config then my /etc/sysconfig/iptables && ip6tables ran on bootup as expected.
Reply With Quote
  #7  
Old 26th March 2013, 09:41 PM
uyhoang Offline
Registered User
 
Join Date: Mar 2013
Location: Maryland
Posts: 1
linuxchrome
Re: Disabling firewall in F18

F18 has replaced iptables in favor of firewalld. I just removed it using "sudo yum remove firewalld". There are instructions out there on how to put iptables back on.
Reply With Quote
  #8  
Old 7th May 2013, 10:37 PM
jcg1541 Offline
Registered User
 
Join Date: May 2013
Location: USA
Posts: 2
linuxfirefox
Re: Disabling firewall in F18

Thanks DupermanDave for posting this.

I have been thrown out in dispair and started having doubt of my sanity.

I disable/stop iptables again and again, and incoming https just wouldn't get through. I have not been able to upgrade to f18 at work.

I am glad fedora cuts to the edge with a dynamic firewall. But I don't know how many more times can I take such a punishment.

---------- Post added at 04:37 PM ---------- Previous post was at 04:30 PM ----------

Quote:
Originally Posted by pnelsonsr View Post
Yeah this one drove me crazy for a bit. I just used yum to erase firewalld and firewall-config then my /etc/sysconfig/iptables && ip6tables ran on bootup as expected.
I get what you said about "crazy". Lucky I am able to come to appreciate the dynamic firewall. I think a lot of people won't get through this. The limitation is most likely in iptable's programming that hardly enough people's mind can penetrate.
Reply With Quote
  #9  
Old 8th May 2013, 02:52 AM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,000
linuxfirefox
Re: Disabling firewall in F18

Maybe you need to mask firewalld?
Quote:
systemctl mask firewalld
systemctl will sometimes restart even disabled/stopped services, see the systemctl man page about the "mask" option

Remember, if you use mask, you can't restart the service until you manually re-enable it:
Quote:

systemctl mask firewalld
.......
systemctl start firewalld ----> fails to start it, the unit == /dev/null
systemctl enable firewalld ----> puts the proper unit back in place
systemctl start firewalld ----> now it succeeds
this is because the unit gets linked to /dev/null when masked
Reply With Quote
  #10  
Old 31st May 2013, 05:40 AM
stevenhr Offline
Registered User
 
Join Date: Jul 2010
Location: Los Angeles
Posts: 56
linuxfirefox
Re: Disabling firewall in F18

Quote:
Originally Posted by glennzo View Post
Try
PHP Code:
systemctl stop firewalld.service 
I've been having a problem with the default firewall configuration in Fedora 18, and this enabled me to work around it.

Thanks
Reply With Quote
  #11  
Old 2nd July 2013, 05:39 AM
flyingfsck Online
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,824
linuxfirefox
Re: Disabling firewall in F18

Hmm, the firewall could be useful if it was documented, so one would have some idea of what the configuration settings actually mean, but I guess that is too much to ask of any new Fedora feature, so I just disabled it as well.
Reply With Quote
  #12  
Old 2nd July 2013, 09:04 PM
bobclifford Offline
Registered User
 
Join Date: Mar 2013
Location: us
Posts: 46
linuxfirefox
Re: Disabling firewall in F18

flyingfsck:

This may be helpful:

https://fedoraproject.org/wiki/FirewallD
Reply With Quote
  #13  
Old 2nd July 2013, 09:16 PM
flyingfsck Online
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,824
macoschrome
Re: Disabling firewall in F18

That 'explanation' of FirewallD is just fluff. It doesn't actually explain how the firewall works. For example, if you want to 'allow everything' (turn it off basically), which one of dmz, external or public should you use? Similar if you want full protection - which setting should you use? Why are there so many different destinations in the firewall and what is the difference between them? The description looks nice, but doesn't provide any useful information.
Reply With Quote
  #14  
Old 2nd July 2013, 09:53 PM
bobclifford Offline
Registered User
 
Join Date: Mar 2013
Location: us
Posts: 46
linuxfirefox
Re: Disabling firewall in F18

Quote:
Originally Posted by flyingfsck View Post
That 'explanation' of FirewallD is just fluff. It doesn't actually explain how the firewall works. For example, if you want to 'allow everything' (turn it off basically), which one of dmz, external or public should you use? Similar if you want full protection - which setting should you use? Why are there so many different destinations in the firewall and what is the difference between them? The description looks nice, but doesn't provide any useful information.
I do not disagree with you. In the gui interface (firewall-config), I picked public, then changed "Current View" to "Permanent Configuration", then you can "Edit Services" where I could select/deselect or add configure items.
Reply With Quote
Reply

Tags
disabling, f18, firewall

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
disabling firewall on Fedora narayans Using Fedora 4 7th February 2012 07:26 PM
Disabling Firewall in Kickstart but ports are still not open roybfr Installation, Upgrades and Live Media 3 16th October 2008 04:43 PM
Disabling firewall DURING installation process ifignu Installation, Upgrades and Live Media 8 23rd June 2008 09:34 PM
Disabling Fedora's Firewall Ianb1972 Security and Privacy 13 13th December 2005 11:50 AM
service network is disabling my iptables firewall beijingjj Servers & Networking 2 5th December 2004 03:14 PM


Current GMT-time: 15:32 (Thursday, 31-07-2014)

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