On Thursday, February 20, 2020 9:14:24 PM MST home user wrote: > (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?
On your system, it'd be `eno1`. -- John M. Harris, Jr. Splentity
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org