Fedora Linux Support Community & Resources Center
  #1  
Old 28th July 2017, 08:41 AM
phoenixiran Offline
Registered User
 
Join Date: Jul 2017
Location: N/A
Posts: 2
linuxfedorafirefox
Talking firewalld - block all ports input

I am trying to find a firewall-cmd command that will simply block all ports in a given zone.
Reply With Quote
  #2  
Old 28th July 2017, 09:01 AM
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 8,453
linuxfedorafirefox
Re: firewalld - block all ports input

There really isn't one. I don't believe it accepts a wildcard or range in the firewall-cmd option to remove the ports. There might be a way to code a rich rule to load, but not sure...

If you wish to completely block all access (incoming and outgoing) you can turn on panic mode.

firewall-cmd --panic-on
__________________
Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Reply With Quote
  #3  
Old 28th July 2017, 11:32 AM
phoenixiran Offline
Registered User
 
Join Date: Jul 2017
Location: N/A
Posts: 2
linuxfedorafirefox
Re: firewalld - block all ports input

https://www.centos.org/forums/viewtopic.php?t=62088
Reply With Quote
Reply

Tags
block, firewalld, input, 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
Firewalld - Block an IP Address up2long Servers & Networking 4 20th March 2015 09:11 PM
Block incoming IPv6 access to LAN clients with firewalld? n0xlf Servers & Networking 5 12th September 2014 11:40 PM
Using FirewallD to block brute force SSH attacks Evil-I Servers & Networking 6 23rd April 2014 05:48 PM
[SOLVED] Can firewalld limit ports to 192.168.1/24? kingsombra Servers & Networking 6 30th December 2013 10:37 PM


Current GMT-time: 10:24 (Monday, 21-08-2017)

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