Ujnotes — CC0 1.0
Install and start ubuntu-desktop, and control the firewall with ufw and iptables.
Install desktop
apt-get install ubuntu-desktopMay require installing build-essential.
Start desktop
startxFirewall
ufw subcommands: status, disable, enable, reset, allow.
ufw status
ufw disable
ufw enable
ufw reset
ufw allowAllow TCP:
proto tcp from any to any port __<Samba> as an allow target.
iptables
-F will flush the firewall rules.
iptables -FCaution: ufw reset and iptables -F drop firewall rules.
Updated:
2026 Aug 19

