From 0c787a917add62355033f2a9c72e70c3468fb5f4 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 21 Sep 2022 15:16:26 +0200 Subject: [PATCH] Improve incoming rules quick actions --- profile/config.go | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/profile/config.go b/profile/config.go index 5388b59c..4da74512 100644 --- a/profile/config.go +++ b/profile/config.go @@ -309,17 +309,17 @@ Important: DNS Requests are only matched against domain and filter list rules, a endpoints.EndpointListVerdictNamesAnnotation: rulesVerdictNames, config.QuickSettingsAnnotation: []config.QuickSetting{ { - Name: "SSH", + Name: "Allow SSH", Action: config.QuickMergeTop, Value: []string{"+ * tcp/22"}, }, { - Name: "HTTP/s", + Name: "Allow HTTP/s", Action: config.QuickMergeTop, Value: []string{"+ * tcp/80", "+ * tcp/443"}, }, { - Name: "RDP", + Name: "Allow RDP", Action: config.QuickMergeTop, Value: []string{"+ * */3389"}, }, @@ -333,6 +333,11 @@ Important: DNS Requests are only matched against domain and filter list rules, a Action: config.QuickMergeTop, Value: []string{"+ Internet"}, }, + { + Name: "Block everything else", + Action: config.QuickMergeBottom, + Value: []string{"- *"}, + }, }, }, ValidationRegex: endpoints.ListEntryValidationRegex,