Go back to being TCP specific

This commit is contained in:
Wojciech Kozlowski 2023-10-22 09:40:38 +02:00
parent aa3a38a5f4
commit f998fe64c5
3 changed files with 5 additions and 5 deletions

View File

@ -44,11 +44,11 @@ vpn_bridge_inet6_subnet: "{{ vpn_bridge_inet6_prefix }}::/{{ vpn_bridge_inet6_pr
vpn_bridge_dnat: "\ vpn_bridge_dnat: "\
{% set vpn_bridge_dnat = [] %}\ {% set vpn_bridge_dnat = [] %}\
{% for properties in ( services_host_services.values() | selectattr('dnat', 'defined') ) %}\ {% for properties in ( services_host_services.values() | selectattr('tcp', 'defined') ) %}\
{{ vpn_bridge_dnat.append({ {{ vpn_bridge_dnat.append({
'inet_address': properties.inet_address, 'inet_address': properties.inet_address,
'inet6_address': properties.inet6_address, 'inet6_address': properties.inet6_address,
'ports': properties.dnat 'ports': properties.tcp
}) }}\ }) }}\
{% endfor %}\ {% endfor %}\
{{ vpn_bridge_dnat }}" {{ vpn_bridge_dnat }}"

View File

@ -147,7 +147,7 @@ services_host_services:
lrproxy: lrproxy:
inet_address: "{{ vpn_bridge_inet_prefix }}.2" inet_address: "{{ vpn_bridge_inet_prefix }}.2"
inet6_address: "{{ vpn_bridge_inet6_prefix }}::2" inet6_address: "{{ vpn_bridge_inet6_prefix }}::2"
dnat: [80, 443] tcp: [80, 443]
restic: true restic: true
database: database:
inet_address: "{{ vpn_bridge_inet_prefix }}.3" inet_address: "{{ vpn_bridge_inet_prefix }}.3"
@ -162,7 +162,7 @@ services_host_services:
git: git:
inet_address: "{{ vpn_bridge_inet_prefix }}.5" inet_address: "{{ vpn_bridge_inet_prefix }}.5"
inet6_address: "{{ vpn_bridge_inet6_prefix }}::5" inet6_address: "{{ vpn_bridge_inet6_prefix }}::5"
dnat: ["{{ services.git.ssh_port }}"] tcp: ["{{ services.git.ssh_port }}"]
restic: true restic: true
notes: notes:
inet_address: "{{ vpn_bridge_inet_prefix }}.6" inet_address: "{{ vpn_bridge_inet_prefix }}.6"

2
roles

@ -1 +1 @@
Subproject commit 1bcd445dc67c8efc1ded26356740bbaa727c305f Subproject commit ffe65032db646abf9ddb500dcefdea887e45ce6e