removed support for udp
This commit is contained in:
parent
c8eb1631b5
commit
3b2cf70c8a
2 changed files with 0 additions and 19 deletions
|
@ -34,13 +34,6 @@
|
|||
owner: "{{ ssh_tunnel_autossh_system_user }}"
|
||||
mode: 0644
|
||||
|
||||
#- name: Re-convert udp sent over ssh to udp packets
|
||||
# become: yes
|
||||
# shell:
|
||||
# command: "socat tcp4-listen:8000,reuseaddr,fork udp:server02:53"
|
||||
# loop: "{{ tunneled_ports }}"
|
||||
# when: "'udp' in item.protocols"
|
||||
|
||||
- name: Set systemd service file
|
||||
become: yes
|
||||
template:
|
||||
|
|
|
@ -84,12 +84,6 @@
|
|||
when: "'tcp' in item.protocols"
|
||||
notify: persist iptables
|
||||
|
||||
- name: Forward privileged ports to ephemeral localhost ports (IPv4, UDP)
|
||||
become: yes
|
||||
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"
|
||||
|
||||
- name: Forward privileged ports to ephemeral localhost ports (IPv6, TCP)
|
||||
become: yes
|
||||
iptables:
|
||||
|
@ -104,9 +98,3 @@
|
|||
loop: "{{ tunneled_ports }}"
|
||||
when: "'tcp' in item.protocols"
|
||||
notify: persist iptables
|
||||
|
||||
- name: Forward privileged ports to ephemeral localhost ports (IPv6, UDP)
|
||||
become: yes
|
||||
command: "socat -T10 udp6-recvfrom:{{ item.exposed_port }},fork tcp:[::1]:{{ item.ephemeral_port }}"
|
||||
loop: "{{ tunneled_ports }}"
|
||||
when: "'udp' in item.protocols"
|
Loading…
Add table
Add a link
Reference in a new issue