|
|
@@ -2207,10 +2207,6 @@ async function loadFirewall(populateDropdowns = true) {
|
|
|
console.error('Failed to load firewall:', err);
|
|
|
}
|
|
|
}
|
|
|
- } catch (err) {
|
|
|
- console.error('Failed to load firewall:', err);
|
|
|
- }
|
|
|
-}
|
|
|
|
|
|
// ----------------- Filter Rules -----------------
|
|
|
function renderFilterRules() {
|
|
|
@@ -2677,21 +2673,6 @@ async function submitSaveNATRule(e) {
|
|
|
comment,
|
|
|
disabled
|
|
|
})
|
|
|
- });
|
|
|
- id,
|
|
|
- chain,
|
|
|
- action,
|
|
|
- to_addresses: toaddr,
|
|
|
- to_ports: toport,
|
|
|
- protocol: proto,
|
|
|
- src_address: src,
|
|
|
- dst_address: dst,
|
|
|
- dst_port: dport,
|
|
|
- in_interface: inIface,
|
|
|
- out_interface: outIface,
|
|
|
- comment,
|
|
|
- disabled
|
|
|
- })
|
|
|
});
|
|
|
if (res.ok) {
|
|
|
showToast('NAT Rule Saved', 'NAT mapping updated', 'success');
|