Networking and Firewall Basics 04 Configure nftables

Опубликовано: 09 Апрель 2026
на канале: Brian Green
579
2

Re-enable Access to the Service
• Task 1: Allow access to port 8080 for the client VM.
o Modify the nftables rule on the server VM to “accept” port 8080:

o Reload the firewall rules:
sudo nft -f /etc/nftables.conf
o Verify the updated ruleset:
sudo nft list ruleset
o Screenshot Required: Capture the terminal output showing the updated ruleset.
• Task 2: Confirm the service is accessible again.
o Start the netcat service on the server VM:
nc -l 8080
o From the client VM, connect to the service using netcat and exchange a message.