2017-04-13 00:25:31 +00:00
|
|
|
# FreeBSD / HardenedBSD server setup
|
2017-03-18 09:22:07 +00:00
|
|
|
|
|
|
|
It is only possible to install Algo on existing systems only. We support only 11 version for now.
|
|
|
|
|
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
|
|
|
|
ansible-playbook deploy.yml -t local,vpn -e "server_ip=$server_ip server_user=$server_user IP_subject_alt_name=$server_ip Store_CAKEY=N" --skip-tags cloud
|
|
|
|
```
|