Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-5587

RH358-6: [RH254] nmcli - add firewalld zone example

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • RH358 - RHEL 8.1 0
    • RH358
    • None
    • 1
    • en-US (English)

      URL:
      Reporter RHNID:
      Section: -
      Language: en-US (English)
      Workaround:

      Description: I think it would be nice to give the students an example of how nmcli can be used to add a connection into a firewalld zone. It highlights the ongoing integration of the products - especially as we are pushing both nmcli and firewalld in the courses.
      I have added it as a possibility for rh254 rather than rh124 as I think it will go straight over their heads in that very full course

      nmcli con add con-name staticip type ethernet ifname eth0 ip4 192.168.0.1/24 ge4 192.168.0.254
      nmcli con mod staticip connection.zone work
      nmcli con up staticip
      firewall-cmd --list-all --zone=work

            rht-sbonnevi Steven Bonneville
            bucknd David Bucknell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: