[GH-ISSUE #781] Feature Request: Implicit deny for ruleset #1628

Closed
opened 2026-04-16 08:21:13 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @kmanwar89 on GitHub (May 25, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/781

Hi,

Love Pangolin, and I'm working on securing my setup. I'd like to only allow logins from my LAN (RFC 1918 IP's), Tailscale's subnet (100.X), etc., while blocking logins for all others (with the capacity to selectively allowlist).

Is it possible to add a feature, similar to a firewall or ACL rule, that does "implicit block" or "implicit allow", without needing to specify each allow/deny?

Use case here is the standard self-hoster who would want to allow their private IP's and block basically everything else. Thanks!

Originally created by @kmanwar89 on GitHub (May 25, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/781 Hi, Love Pangolin, and I'm working on securing my setup. I'd like to only allow logins from my LAN (RFC 1918 IP's), Tailscale's subnet (100.X), etc., while blocking logins for all others (with the capacity to selectively allowlist). Is it possible to add a feature, similar to a firewall or ACL rule, that does "implicit block" or "implicit allow", without needing to specify each allow/deny? Use case here is the standard self-hoster who would want to allow their private IP's and block basically everything else. Thanks!
Author
Owner

@kmanwar89 commented on GitHub (May 25, 2025):

I aplogize; I should have read the documentation in more detail before making this request. I can see that Pangolin respects the 0.0.0.0/0 notation for ANY IPv4 deny, which I've tested to work successfully. I think that works well for my use case, but I do think others might benefit from an implicit allow and/or deny for those of us who are familiar with using ACL's or firewall rules and tend to think in that same pattern - thanks again for this amazing project!

<!-- gh-comment-id:2907894228 --> @kmanwar89 commented on GitHub (May 25, 2025): I aplogize; I should have read the documentation in more detail before making this request. I can see that Pangolin respects the `0.0.0.0/0` notation for ANY IPv4 deny, which I've tested to work successfully. I think that works well for my use case, but I do think others might benefit from an implicit allow and/or deny for those of us who are familiar with using ACL's or firewall rules and tend to think in that same pattern - thanks again for this amazing project!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#1628