minor fix

This commit is contained in:
Philip (a-0) 2022-07-27 11:33:44 +02:00
parent b867164902
commit c8eb1631b5

View file

@ -86,7 +86,6 @@
- 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 }}"
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 }}"
loop: "{{ tunneled_ports }}"
when: "'udp' in item.protocols"