Global Feed Post Login
Replying to Avatar Laser

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🐧

Avatar
Alpha Shield 🏴‍☠️ 2y ago

What does this do?

Reply to this note

Please Login to reply.

Discussion

Avatar
Laser 2y ago

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

Thread collapsed