Swap version of wstunnel (previos not exist). Creating wireguard-server variables
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user