aurore-firewall: correct backup router ip

This commit is contained in:
Yohaï-Eliel BERREBY 2020-05-07 20:23:30 +02:00
parent 8ba2de1698
commit fea73a13aa
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ nat = [
},
'ip_sources' : '10.{{ subnet_ids.users_wired }}.0.0/16',
'extra_nat' : {
'10.129.{{ apartment_block_id }}.240' : '45.66.108.25{{ apartment_block_id }}'
'10.129.{{ apartment_block_id }}.{{ '1' if "backup" in inventory_hostname else '2' }}40' : '45.66.108.25{{ apartment_block_id }}'
}
}
]