Setup a firewall on #VanillaOS.

1. Install `ufw` to `abroot` -

```

$ sudo abroot shell

$ sudo apt install ufw

$ exit

$ sudo reboot

```

2. Configure and enable `ufw` -

```

$ sudo which ufw

$ sudo ufw status

$ sudo ufw default deny incoming

$ sudo ufw default allow outgoing

$ sudo ufw enable

```

3. Verify that `ufw` configured `iptables` -

```

$ sudo iptables -L

```

Done.

#Linux🐧

Reply to this note

Please Login to reply.

Discussion

How are you liking Vanilla?

Still digging in. So far, very promising.

Has it been stable for you?

Surprisingly so. It's pretty remarkable considering the tech they've mashed together and how novel their approach is.

What does this do?

It blocks all incoming connections, which should really be the default on desktop #Linux.

Just a friendly reminder that this will block SSH access instantly when you enable UFW, so should be careful doing this on a VPS etc.

Nuts to me that this isn't the default on desktop installations. They leave the door wide open.