Difference between revisions of "Ufw - mac firewall"
From Wasya Wiki
m (Piousbox moved page Ufw to Ufw - mac firewall) |
|||
Line 5: | Line 5: | ||
sudo ufw allow to any port 3306 proto tcp | sudo ufw allow to any port 3306 proto tcp | ||
+ | |||
+ | = ubuntu firewall config = | ||
+ | From: https://askubuntu.com/questions/1259860/on-ubuntu-20-04-how-do-you-open-a-port-in-the-firewall | ||
+ | |||
+ | sudo ufw enable | ||
+ | sudo ufw allow 4200 |
Latest revision as of 18:08, 17 May 2023
sudo ufw status verbose
sudo ufw allow from 127.0.0.1 to 127.0.0.1 port 3306 proto tcp
sudo ufw allow to any port 3306 proto tcp
ubuntu firewall config
From: https://askubuntu.com/questions/1259860/on-ubuntu-20-04-how-do-you-open-a-port-in-the-firewall
sudo ufw enable sudo ufw allow 4200