From c8eb1631b5db949fe78e982adb9233eb728c3182 Mon Sep 17 00:00:00 2001 From: "Philip (a-0)" <@ph:a-0.me> Date: Wed, 27 Jul 2022 11:33:44 +0200 Subject: [PATCH] minor fix --- tasks/remote.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tasks/remote.yml b/tasks/remote.yml index 83b6c6a..e857c5f 100644 --- a/tasks/remote.yml +++ b/tasks/remote.yml @@ -86,8 +86,7 @@ - name: Forward privileged ports to ephemeral localhost ports (IPv4, UDP) become: yes - shell: - command: "socat -T10 udp4-recvfrom:{{ item.exposed_port }},fork tcp:127.0.0.1:{{ item.ephemeral_port }}" + command: "socat -T10 udp4-recvfrom:{{ item.exposed_port }},fork tcp:127.0.0.1:{{ item.ephemeral_port }}" loop: "{{ tunneled_ports }}" when: "'udp' in item.protocols" @@ -108,7 +107,6 @@ - name: Forward privileged ports to ephemeral localhost ports (IPv6, UDP) become: yes - shell: - command: "socat -T10 udp6-recvfrom:{{ item.exposed_port }},fork tcp:[::1]:{{ item.ephemeral_port }}" + command: "socat -T10 udp6-recvfrom:{{ item.exposed_port }},fork tcp:[::1]:{{ item.ephemeral_port }}" loop: "{{ tunneled_ports }}" when: "'udp' in item.protocols" \ No newline at end of file