Join Nostr
2023-03-06 16:35:09 UTC

DELETED on Nostr: Setup a firewall on #VanillaOS. 1. Install `ufw` to `abroot` - ``` $ sudo abroot ...

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🐧