Kevin Veen-Birkenbach 2569abc0be
Refactor systemctl services and timers
- Unified service templates into generic systemctl templates
- Introduced reusable filter plugins for script path handling
- Updated path variables and service/timer definitions
- Migrated roles (backup, cleanup, repair, etc.) to use systemctl role
- Added sys-daemon role for core systemd cleanup
- Simplified timer handling via sys-timer role

Note: This is a large refactor and some errors may still exist. Further testing and adjustments will be needed.
2025-08-18 21:22:16 +02:00

2.5 KiB

Wireguard Client

Description

This role manages WireGuard on a client system. It sets up essential services and scripts to configure and optimize WireGuard connectivity.

Overview

Optimized for client configurations, this role:

  • Deploys a systemd service (set-mtu{{ SYS_SERVICE_SUFFIX }}) and its associated script to set the MTU on specified network interfaces.
  • Uses a Jinja2 template to generate the set-mtu.sh script.
  • Ensures that the MTU is configured correctly before starting WireGuard with wg-quick.

Purpose

The primary purpose of this role is to configure WireGuard on a client by setting appropriate MTU values on network interfaces. This ensures a stable and optimized VPN connection.

Features

  • MTU Configuration: Deploys a template-based script to set the MTU on all defined internet interfaces.
  • Systemd Service Integration: Creates and manages a systemd service to execute the MTU configuration script.
  • Administration Support: For client key creation and further setup, please refer to the Administration file.
  • Modular Design: Easily integrates with other WireGuard roles or network configuration roles.

Other Resources