diff --git a/web/system.py b/web/system.py index 968cc02..4cea045 100644 --- a/web/system.py +++ b/web/system.py @@ -70,7 +70,7 @@ def save_config(): # Populate IP sets and translation maps for NAT. ipsets = collections.defaultdict(set) - for name, network in db.read('networks').items(): + for name, network in db.read('ipsets').items(): ipsets[name].update(network.get('ip', ())) ipsets[f'{name}/6'].update(network.get('ip6', ())) diff --git a/web/templates/index.html b/web/templates/index.html index 790441f..7d188ff 100644 --- a/web/templates/index.html +++ b/web/templates/index.html @@ -6,7 +6,7 @@
Nastavitve
nastavitve aplikacije FRIwall -
Omrežja +
Obsegi IP
definicije obsegov IP
Urejanje pravil
pravila za posredovanje prometa