@ -22,6 +22,10 @@ By default port `51820` (protocol UDP) should be accessable from the outside. Bu
Changelog
Changelog
---------
---------
**v1.0.2**
- update README
**v1.0.1**
**v1.0.1**
- update README
- update README
@ -62,10 +66,10 @@ wireguard_interface: "wg0"
The following variable is mandatory and needs to be configured for every host in `host_vars/`:
The following variable is mandatory and needs to be configured for every host in `host_vars/`:
```
```
wireguard_address: "10.3.0.101"
wireguard_address: "10.3.0.101/24"
```
```
If `wireguard_allowed_ips` is not set the the default value is the value from `wireguard_address` without the CIDR but instead with `/32` which is basically a host route (have a look `templates/wg.conf.j2`). Let's see this example and let's assume you don't set `wireguard_allowed_ips` explicitly:
Of course all IP's should be in the same subnet like `/24` we see in the example above. If `wireguard_allowed_ips` is not set then the default value is the value from `wireguard_address` without the CIDR but instead with `/32` which is basically a host route (have a look `templates/wg.conf.j2`). Let's see this example and let's assume you don't set `wireguard_allowed_ips` explicitly:
```
```
[Interface]
[Interface]
@ -210,40 +214,40 @@ As you can see `wireguard_endpoint: ""` is a empty string here. That means the A