Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/wireguard #145

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Feature/wireguard #145

wants to merge 8 commits into from

Conversation

lfchris
Copy link
Member

@lfchris lfchris commented Mar 12, 2024

No description provided.

@@ -0,0 +1,17 @@
- name: 'Install and configure a wireguard tunnel'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: 'Install and configure a wireguard tunnel'
- name: 'Install and configure a wireguard client'

@@ -0,0 +1,17 @@
- name: 'Install and configure a wireguard tunnel'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: 'Install and configure a wireguard tunnel'
- name: 'Install and configure a wireguard server'

@@ -0,0 +1,65 @@
# Ansible Role linuxfabrik.lfops.wireguard_client

This role installs and configures [wireguard](https://www.wireguard.com/install/) as client.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This role installs and configures [wireguard](https://www.wireguard.com/install/) as client.
This role installs and configures [wireguard](https://www.wireguard.com/install/) as a client.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spell wireguard "WireGuard" according to its website?


| Variable | Description |
| -------- | ----------- |
| `wireguard_client__ipaddress` | The client's ip address within the VPN. |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| `wireguard_client__ipaddress` | The client's ip address within the VPN. |
| `wireguard_client__ipaddress` | The client's IP address within the VPN. |

| -------- | ----------- |
| `wireguard_client__ipaddress` | The client's ip address within the VPN. |
| `wireguard_client__wireguard_server` | The server where the wireguard server is running. Has to be reachable only from the ansible deployment host, not the wireguard client itself. |
| `wireguard_client__server_endpoint_ipaddress` | The physical IP address of the wireguard server. Has to be reachable from the wireguard client. |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is a physical IP?


| Variable | Description |
| -------- | ----------- |
| `wireguard_server__ipaddress` | The client's ip address within the VPN. |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

description is wrong I think

Example:
```yaml
# mandatory
wireguard_server__ipaddress: '10.8.0.2/24'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above, use RFC example IPs

@@ -0,0 +1,11 @@
wireguard_server__interface: 'wg0'
wireguard_server__listening_port: 51820
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing in readme

@@ -0,0 +1,11 @@
wireguard_server__interface: 'wg0'
wireguard_server__listening_port: 51820
wireguard_server__save_config: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing in readme

@@ -0,0 +1,100 @@
- block:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check against my comments for the client tasks file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants