# Wireguard VPN Settings

VPN settings are located in the file:

```
inventory/dekube/group_vars/kube_vpn.yml
```

Do not change settings unless absolutely necessary!

## Initializing Wireguard VPN Server <a href="#id-razvertyvanieklasteradekube-inicializaciyawireguardvpnservera" id="id-razvertyvanieklasteradekube-inicializaciyawireguardvpnservera"></a>

```sh
ansible-playbook playbooks/vpn_server.yaml
```

You can watch a video of the server setup process [here](https://asciinema.org/a/K5dPhZi7NteoWbB4zhQdYMvnf).&#x20;

## Connecting future worker nodes to a single VPN network <a href="#id-razvertyvanieklasteradekube-podklyucheniebudushikhworkernodevedinuyuvpnset" id="id-razvertyvanieklasteradekube-podklyucheniebudushikhworkernodevedinuyuvpnset"></a>

```sh
ansible-playbook playbooks/vpn_clients.yaml
```

You can watch a video of the process of how to connect the worker node [here](https://asciinema.org/a/TnidsboRGJ91USAZn3NxzrYqw).&#x20;
