Swap version of wstunnel (previos not exist). Creating wireguard-server variables

This commit is contained in:
warezjoe
2026-02-27 10:30:56 +01:00
parent 3bb33db037
commit 7852d99940
5 changed files with 8 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
block:
- name: Download and unarchive wstunnel package
ansible.builtin.unarchive:
src: https://github.com/erebe/wstunnel/releases/download/v5.1/wstunnel_5.1_linux_amd64.tar.gz
src: "{{ wstunnel-download-url }}"
dest: /tmp
remote_src: yes
creates: /tmp/wstunnel
@@ -38,7 +38,7 @@
[Service]
Type=simple
User=nobody
ExecStart=/usr/local/bin/wstunnel -s 127.0.0.1:8080 -t udp://127.0.0.1:51820
ExecStart=/usr/local/bin/wstunnel -s 0.0.0.0:8080 -t udp://127.0.0.1:{{ wireguard-server.internal-port }}
Restart=always
RestartSec=3