arttuladhar
7/1/2017 - 8:28 PM

Using UFW (Uncomplicated Firewall)

Using UFW (Uncomplicated Firewall)

# Install
sudo apt-get install ufw

# Enable / Disable UFW
sudo ufw enable
sudo ufw disable

# Check Status and Rules
ufw status verbose

# Show UFW Status
ufw status numbered

ufw allow ssh
ufw allow http
ufw allow 

# Allow 3306 for MySQL on Eth1
ufw allow in on eth1 to any port 3306