Support for more advanced access rules #4018
benc-git
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
|
I would like to have a possiblity to add comments for rules. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
Current Pangolin access rules options result in either direct allow, pass to auth, or block.
I'm looking for a way to filter on multiple aspects, e.g. only allow 2 specific ASNs, and only if the IP blelongs to country A.
With current rules I don't see how to do that:
ASN/Region/... checks also dont have a 'ASN is not' option. Which is available for countries.
Would be convenient to be able to select e.g. multiple ASNs in one rule, instead of one rule for each ASN.
Motivation
With all security issues being found lately in general, I want to restrict access as much as possible.
I had already restricted it to my country, but I'd also like to block the majority of ASNs that I don't use.
Proposed Solution
One option: allow rules per category:
Access is checked per stage: either block, allow directly, or 'continue access checks' (with in the end ending up in regular 'auth check').
Other option, if you want to go fancy, allow custom rules such as Cloudflare offers security rules:

Alternatives Considered
No response
Additional Context
No response
All reactions