Skip to content

Instantly share code, notes, and snippets.

NOTE: Copied as-is from "Linux Expert" forum in linkedin - https://www.linkedin.com/feed/update/urn:li:activity:7031604358630805504?utm_source=share&utm_medium=member_desktop
Not entirely tested from my end.
```
#!/bin/bash
# Update the package repository
apt-get update -y
# Install and configure the firewall (ufw)
apt-get install -y ufw