FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2017
    Location
    iran
    Posts
    5

    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.

  2. #2
    Join Date
    Aug 2009
    Posts
    8,472

    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?

  3. #3
    Join Date
    Jul 2017
    Location
    iran
    Posts
    5

    Re: firewalld - block all ports input


Similar Threads

  1. Firewalld - Block an IP Address
    By up2long in forum Servers & Networking
    Replies: 4
    Last Post: 20th March 2015, 09:11 PM
  2. Block incoming IPv6 access to LAN clients with firewalld?
    By n0xlf in forum Servers & Networking
    Replies: 5
    Last Post: 12th September 2014, 11:40 PM
  3. Using FirewallD to block brute force SSH attacks
    By Evil-I in forum Servers & Networking
    Replies: 6
    Last Post: 23rd April 2014, 05:48 PM
  4. [SOLVED] Can firewalld limit ports to 192.168.1/24?
    By kingsombra in forum Servers & Networking
    Replies: 6
    Last Post: 30th December 2013, 10:37 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •