mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-22 17:43:04 -05:00
[GH-ISSUE #781] Feature Request: Implicit deny for ruleset #1628
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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!
@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/0notation 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!