FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2010
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy firewall-cmd, permanent adding an interface to a zone?

    Hi

    In Fedora 18...How do I make an interface config persistent?

    Example:

    According to the man page this should work:

    firewall-cmd --permanent --zone=external --add-interface=tap0

    but i doesn't :-(

    But this does:

    # firewall-cmd --zone=external --add-interface=tap0
    # firewall-cmd --get-zone-of-interface=tap0
    external


    But it doesn't get saved:

    # systemctl restart firewalld
    # firewall-cmd --get-zone-of-interface=tap0


    Any hints?

    Thanks in advance,

    Michael

  2. #2
    Join Date
    Aug 2009
    Posts
    11,390
    Mentioned
    98 Post(s)
    Tagged
    0 Thread(s)

    Re: firewall-cmd, permanent adding an interface to a zone?

    Edit your /etc/sysconfig/network-scripts/ifcfg-tap0 file and add the line:

    Code:
    ZONE=external
    For some reason, firewalld doesn't allow the --permanent option on setting the zone for a interface.

Similar Threads

  1. [SOLVED] Permanent: firewall-cmd --zone=home --change-interface=p2p1
    By Paavo in forum Servers & Networking
    Replies: 10
    Last Post: 17th March 2013, 10:52 AM
  2. Making Graphical Interface Permanent
    By AntonBotha in forum Using Fedora
    Replies: 1
    Last Post: 2nd March 2007, 03:28 PM
  3. Adding addition IP (virtual interface)
    By dizzaniix in forum Servers & Networking
    Replies: 0
    Last Post: 24th August 2005, 09:22 PM
  4. having to type /sbin/cmd instead of cmd
    By evilcore in forum Using Fedora
    Replies: 4
    Last Post: 9th July 2005, 04:40 PM
  5. Adding a Graphical Interface
    By Kilo in forum Installation, Upgrades and Live Media
    Replies: 2
    Last Post: 4th May 2004, 03:10 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
  •