HOME
> System software
> Ubuntu: Enlarge Partition - How To Do It
Ubuntu: Enlarge partition - how to do it
If you want to set up a firewall in Ubuntu, you can use UFW. This is an interface to IPTables that simplifies this process. To set up UFW on your computer, you can use the terminal or make the settings directly from the graphical interface.
How to set up a firewall on Ubuntu
If you are using Ubuntu, setting up a firewall can be difficult, especially for beginners. For this reason, you can use UFW, which in turn interfaces with IPTables. You can set it up using the graphical interface or the terminal. For the latter, enter the following commands.- Install UFW with "sudo apt-get install ufw". Then enter "sudo ufw default deny icoming" and "sudo ufw default allow outgoing" to apply the default settings for incoming and outgoing connections.
- For example, if you want to allow SSH connections, enter the command "sudo ufw allow ssh". This way you can allow different processes. If you replace "allow" with "deny", you can prohibit them accordingly. With "sudo ufw reset" you reset the rules again.
- You activate the firewall with "sudo ufw enable". To view the status, on the other hand, enter "sudo ufw status verbose". After that, you can allow specific port ranges and IPs. Beispiele hierfür sind „sudo ufw allow 6000:6010/udp“ oder „sudo ufw allow from 320.173.88.1 to any port 22“.
- Möchten Sie die grafische Oberfläche nutzen, installieren und starten Sie die Anwendung mit „sudo apt-get install gufw“. Anschließend können Sie alle Einstellungen treffen.