broadmode 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🐧
Published at
2023-03-06 16:35:09Event JSON
{
"id": "2adea56385cb241fe737a6a31a9125adab5de0eef9507273653fcfaf7443f3ce",
"pubkey": "356875ffd729b06eeb4c1d7a70a1f750045d067774d21c0faffe4af2bf96a2e8",
"created_at": 1678120509,
"kind": 1,
"tags": [
[
"t",
"vanillaos"
]
],
"content": "Setup a firewall on #VanillaOS.\n\n1. Install `ufw` to `abroot` - \n\n```\n$ sudo abroot shell\n$ sudo apt install ufw\n$ exit\n$ sudo reboot\n```\n\n2. Configure and enable `ufw` - \n\n```\n$ sudo which ufw\n$ sudo ufw status\n$ sudo ufw default deny incoming\n$ sudo ufw default allow outgoing\n$ sudo ufw enable\n```\n\n3. Verify that `ufw` configured `iptables` - \n\n```\n$ sudo iptables -L \n```\n\nDone.\n\n#Linux🐧",
"sig": "eb71ed787d80bc7c778f4be3c1ec60956036171b91d8fe7929855e83736157cc75bdf47cbd0d42cd79f5d976d6026ccb18641ccdbf510ea15cbdc7c5b25d82c5"
}