2017-04-13 00:25:31 +00:00
|
|
|
# FreeBSD / HardenedBSD server setup
|
2017-03-18 09:22:07 +00:00
|
|
|
|
2017-04-20 21:56:03 +00:00
|
|
|
FreeBSD server support is a work in progress. For now, it is only possible to install Algo on existing FreeBSD 11 systems.
|
2017-03-18 09:22:07 +00:00
|
|
|
|
2017-04-13 00:25:31 +00:00
|
|
|
## System preparation
|
2017-03-18 09:22:07 +00:00
|
|
|
|
|
|
|
Ensure that the following kernel options are enabled:
|
|
|
|
|
|
|
|
```
|
|
|
|
# sysctl kern.conftxt | grep -iE "IPSEC|crypto"
|
|
|
|
options IPSEC
|
|
|
|
options IPSEC_NAT_T
|
|
|
|
device crypto
|
|
|
|
```
|
|
|
|
|
|
|
|
## Available roles
|
|
|
|
|
|
|
|
* vpn
|
|
|
|
* ssh_tunneling
|
|
|
|
* dns_adblocking
|
|
|
|
|
|
|
|
## Additional variables
|
|
|
|
|
2017-04-13 00:25:31 +00:00
|
|
|
* rebuild_kernel - set to `true` if you want to let Algo to rebuild your kernel if needed (takes a lot of time)
|
2017-03-18 09:22:07 +00:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2017-04-13 00:25:31 +00:00
|
|
|
```shell
|
2018-08-27 14:05:45 +00:00
|
|
|
ansible-playbook main.yml -e "provider=local"
|
2017-04-13 00:25:31 +00:00
|
|
|
```
|
2018-08-27 14:05:45 +00:00
|
|
|
|
|
|
|
And follow the instructions
|