minor correction in LocalForward

This commit is contained in:
Philip (a-0) 2023-01-09 13:34:43 +01:00
parent c91f34e0b4
commit 813548bba5
2 changed files with 2 additions and 2 deletions

View file

@ -11,5 +11,5 @@ Host gateway
RemoteForward localhost:{{ forwarding.ephemeral_port }} {{ forwarding.dest_host }}:{{ forwarding.dest_port }}
{% endfor %}
{% for forwarding in local_forward %}
LocalForward {{ query('community.general.dig', inventory_hostname, 'qtype=A') | first }}:{{ forwarding.local_port }} {{ forwarding.remote_host }}:{{ forwarding.remote_port }}
LocalForward {{ query('community.general.dig', inventory_hostname, 'qtype=A') | first }}:{{ forwarding.local_port }} {{ forwarding.remote_bind_ip }}:{{ forwarding.remote_port }}
{% endfor %}