Added LocalForward
This commit is contained in:
parent
56581dd690
commit
c91f34e0b4
3 changed files with 15 additions and 5 deletions
|
@ -80,7 +80,7 @@
|
|||
destination_port: "{{ item.exposed_port }}"
|
||||
jump: DNAT
|
||||
to_destination: "127.0.0.1:{{ item.ephemeral_port }}"
|
||||
loop: "{{ tunneled_ports }}"
|
||||
loop: "{{ remote_forward }}"
|
||||
when: "'tcp' in item.protocols"
|
||||
notify: persist iptables
|
||||
|
||||
|
@ -95,6 +95,6 @@
|
|||
destination_port: "{{ item.exposed_port }}"
|
||||
jump: DNAT
|
||||
to_destination: "[::1]:{{ item.ephemeral_port }}"
|
||||
loop: "{{ tunneled_ports }}"
|
||||
loop: "{{ remote_forward }}"
|
||||
when: "'tcp' in item.protocols"
|
||||
notify: persist iptables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue