Renamed cymais to infinito and did some other optimations and logout implementations

This commit is contained in:
2025-07-29 16:35:42 +02:00
parent a9e7ed3605
commit 44e0fea0b2
499 changed files with 1740 additions and 1587 deletions

View File

@@ -17,12 +17,12 @@
### Activate Configuration
```bash
cp /path/to/wg0.conf /etc/wireguard/wg0.conf
systemctl enable wg-quick@wg0.cymais.service --now
systemctl enable wg-quick@wg0.infinito.service --now
```
### Check status
```bash
systemctl status wg-quick@wg0.cymais.service
systemctl status wg-quick@wg0.infinito.service
```
## Other Resources

View File

@@ -9,7 +9,7 @@ This role manages [Wireguard](https://www.wireguard.com/) on the host. It instal
Optimized for both [Arch Linux](https://wiki.archlinux.org/index.php/WireGuard) and [Ubuntu/Debian](https://wireguard.com/install/), this role performs the following tasks:
- Installs Wireguard tools using the appropriate package manager.
- Copies a sysctl configuration file to enable IP forwarding and proper IPv6 settings.
- Deploys a host-specific Wireguard configuration file to `/etc/wireguard/wg0.cymais.conf`.
- Deploys a host-specific Wireguard configuration file to `/etc/wireguard/wg0.infinito.conf`.
- Uses systemd handlers to restart the Wireguard service and reload sysctl settings.
## Purpose
@@ -20,7 +20,7 @@ The primary purpose of this role is to set up and manage a Wireguard VPN configu
- **Multi-Platform Support:** Installs Wireguard tools using [pacman](https://wiki.archlinux.org/title/Pacman) on Arch Linux and [apt](https://en.wikipedia.org/wiki/APT_(software)) on Ubuntu/Debian.
- **Sysctl Configuration:** Deploys a sysctl configuration file to manage IPv4/IPv6 forwarding and related network parameters.
- **Wireguard Configuration:** Copies a host-specific Wireguard configuration file to `/etc/wireguard/wg0.cymais.conf`.
- **Wireguard Configuration:** Copies a host-specific Wireguard configuration file to `/etc/wireguard/wg0.infinito.conf`.
- **Service Management:** Provides handlers to restart the Wireguard service and reload sysctl settings.
## Administration

View File

@@ -1,5 +1,5 @@
# This file is created by
# https://github.com/kevinveenbirkenbach/cymais/tree/main/roles/wireguard
# https://github.com/kevinveenbirkenbach/infinito-nexus/tree/main/roles/wireguard
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0

View File

@@ -1,6 +1,6 @@
- name: "restart wireguard"
systemd:
name: wg-quick@wg0.cymais.service
name: wg-quick@wg0.infinito.service
state: restarted
enabled: yes
daemon_reload: yes

View File

@@ -2,7 +2,7 @@
galaxy_info:
author: "Kevin Veen-Birkenbach"
description: "Manages Wireguard VPN configuration on the host. Installs necessary tools, deploys sysctl settings for IP forwarding, and copies the Wireguard configuration file to enable secure VPN connectivity."
license: "CyMaIS NonCommercial License (CNCL)"
license: "Infinito.Nexus NonCommercial License (CNCL)"
license_url: "https://s.veen.world/cncl"
company: |
Kevin Veen-Birkenbach
@@ -22,7 +22,7 @@ galaxy_info:
- networking
- systemd
- configuration
repository: "https://s.veen.world/cymais"
issue_tracker_url: "https://s.veen.world/cymaisissues"
documentation: "https://s.veen.world/cymais"
repository: "https://github.com/kevinveenbirkenbach/infinito-nexus"
issue_tracker_url: "https://github.com/kevinveenbirkenbach/infinito-nexus/issues"
documentation: "https://docs.infinito.nexus"
dependencies: []

View File

@@ -18,10 +18,10 @@
group: root
notify: reload sysctl configuration
- name: create /etc/wireguard/wg0.cymais.conf
- name: create /etc/wireguard/wg0.infinito.conf
copy:
src: "{{ inventory_dir }}/files/{{ inventory_hostname }}/etc/wireguard/wg0.conf"
dest: /etc/wireguard/wg0.cymais.conf
dest: /etc/wireguard/wg0.infinito.conf
owner: root
group: root
notify: restart wireguard