-
Notifications
You must be signed in to change notification settings - Fork 1
Firewall Ubuntu
Aron Heesakkers edited this page Jun 3, 2021
·
2 revisions
Right now SSH(port 22) is only active for certain ip addresses. Port 80 HTTP and port 443 HTTPS are active for all.
sudo ufw enable
sudo ufw status
443 ALLOW Anywhere
80 ALLOW Anywhere
22 ALLOW 12.34.56.78
443 (v6) ALLOW Anywhere (v6)
80 (v6) ALLOW Anywhere (v6)
Go to https://www.google.com/search?q=whats+my+ip to find your IP address.
Replace 12.34.56.78
with your IP.
sudo ufw allow from 12.34.56.78 to any port 22