Join Scott Simpson for an in-depth discussion in this video Configuring the firewall, part of Learning Fedora Linux.
- Now, in order to make my web server…accessible on port 80,…I'll need to add add a rule in the firewall allowing that.…In Fedora, the firewall, which is managed by FirewallD,…operates in terms of zones, services,…ports, and protocols.…Let's take a look at what's active right now.…I'll write firewall-cmd --list-all.…And I can see that I have a zone called FedoraServer…operating on my interface,…which in this case a virtual interface.…And I have a couple of services that are already allowed:…cockpit, a dhcp client, and ssh.…
And no ports are specifically allowed.…I can go about adding access…for HTTP in two different ways.…I can specify it as a service…or I can specifically add each port and each protocol.…First, let's take a look at adding the ports.…I'll write firewall-cmd…- -zone=FedoraServer…- -add-port=80/tcp.…That'll enable TCP on port 80.…I'll also add --permanent.…What that does is make the rule permanent,…so it persists over reboots.…
If I write firewall-cmd --list-all again,…I can see that, well, no change was made.…
- What is Fedora Linux?
- Downloading and installing Fedora
- Navigating the GNOME Shell
- Working with files and folders
- Working at the command line
- Configuring Fedora Server
Skill Level Beginner
Q: Why don't the VirtualBox Guest Additions install properly on Fedora 23?
A: It seems that the VirtualBox Guest Additions don’t like the version of the X.Org Server software that comes with the Fedora 23 ISO. Before installing the additions, make sure to run:
sudo dnf update
This will get the latest version of X.Org Server (currently 1.18). After that, restart the VM. Then run:
sudo dnf install gcc kernel-devel-$(uname -r)
This command installs the gcc compiler and updated kernel headers, which the Guest Additions need in order to build themselves. $(uname -r) takes the output of the uname -r command, which returns the current kernel version number, and uses it to request to install the correct version for your system. Then try installing the Guest Additions again. You should see "Installing X.Org Server 1.18 modules [ OK ].” Restart the system again, and the full-screen feature should work.