park Bastille for now
This commit is contained in:
parent
2b76d9fc9c
commit
97dca92181
1 changed files with 3 additions and 5 deletions
|
|
@ -21,7 +21,7 @@ pkg update
|
||||||
Install my favorite packages
|
Install my favorite packages
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
pkg install -y bash doas tmux htop neovim git ncdu bastille tailscale aria2
|
pkg install -y bash doas tmux htop neovim git ncdu tailscale aria2
|
||||||
```
|
```
|
||||||
|
|
||||||
For doas you need to copy the config file:
|
For doas you need to copy the config file:
|
||||||
|
|
@ -31,7 +31,7 @@ cp /usr/local/etc/doas.conf.sample /usr/local/etc/doas.conf
|
||||||
nvim /usr/local/etc/doas.conf
|
nvim /usr/local/etc/doas.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
Remove all the stuff about alice, bob, cindy and david. Keep the wheel.
|
Remove all the stuff about alice, bob, cindy and david. Keep the wheel. Use this vim command:
|
||||||
|
|
||||||
```
|
```
|
||||||
g/\<bob\>\|\<alice\>\|\<cindy\>\|\<david\>/d
|
g/\<bob\>\|\<alice\>\|\<cindy\>\|\<david\>/d
|
||||||
|
|
@ -90,8 +90,6 @@ service sshd reload
|
||||||
|
|
||||||
# PF
|
# PF
|
||||||
|
|
||||||
Note, if you're using Bastille, the `/etc/pf.conf` file is going to look different. See [Bastille](../FreeBSD/Bastille/Bastille.md).
|
|
||||||
|
|
||||||
Now we need to get the filewall going.
|
Now we need to get the filewall going.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|
@ -115,7 +113,7 @@ pass out all keep state
|
||||||
```
|
```
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sysrc pf_enable=yes
|
service pf enable
|
||||||
service pf start
|
service pf start
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue