(on 02/20/2020 8:17pm mountain time, John said)
(if using Gnome...) Step 1: `sudo firewall-cmd --set-default-zone=public`
-bash.16[~]: firewall-cmd --set-default-zone=public Warning: ZONE_ALREADY_SET: public success -bash.17[~]
After this, you'll want to get the name of the primary interface. You can do this with a few commands, I recommend `ip link`. It will likely begin with 'enp', for example, 'enp0s1'.
-bash.17[~]: ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000 link/ether 30:85:a9:97:53:7e brd ff:ff:ff:ff:ff:ff 3: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000 link/ether 52:54:00:ca:4d:bd brd ff:ff:ff:ff:ff:ff 4: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN mode DEFAULT group default qlen 1000 link/ether 52:54:00:ca:4d:bd brd ff:ff:ff:ff:ff:ff -bash.18[~]: ip link | grep enp -bash.19[~]:
Nothing starting with "enp". So what is the interface name that I should use in the second firewall-cmd?