+
}
+ title={t('fwd.title')}
+ subtitle={t('fwd.intro')}
+ />
+
+
+
+
} onClick={() => {
+ setCreating(true); form.resetFields()
+ form.setFieldsValue({ priority: 100, active: true, action: 'allow', acl_type: 'dstdomain' })
+ }}>
+ {t('fwd.add')}
+
+ }
+ />
+
+
{ setEditing(null); setCreating(false); form.resetFields() }}
+ onOk={() => { void form.submit() }}
+ confirmLoading={upsert.isPending}
+ width={620}
+ destroyOnClose
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ )
+}
diff --git a/packaging/debian/edgeguard-api/DEBIAN/postinst b/packaging/debian/edgeguard-api/DEBIAN/postinst
index c159bad..714c57d 100755
--- a/packaging/debian/edgeguard-api/DEBIAN/postinst
+++ b/packaging/debian/edgeguard-api/DEBIAN/postinst
@@ -47,6 +47,8 @@ edgeguard ALL=(root) NOPASSWD: /bin/systemctl restart wg-quick@*.service
edgeguard ALL=(root) NOPASSWD: /bin/systemctl stop wg-quick@*.service
edgeguard ALL=(root) NOPASSWD: /usr/bin/wg show all dump
edgeguard ALL=(root) NOPASSWD: /usr/bin/wg show *
+edgeguard ALL=(root) NOPASSWD: /usr/bin/systemctl reload squid.service
+edgeguard ALL=(root) NOPASSWD: /bin/systemctl reload squid.service
SUDOERS
chmod 0440 /etc/sudoers.d/edgeguard