mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-17 07:04:36 -05:00
[GH-ISSUE #1013] Feature Request: Add Region-Based IP Access Control #27343
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 @Nick390 on GitHub (Jul 5, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1013
First, thank you for this fantastic project. I’ve previously tried building similar tunnel solutions, and it would have taken five different tools to achieve what you've done with Pinglin. Impressive work.
Now to the request:
I'd like to suggest a feature that allows region-based IP access control. Specifically, it would be great if administrators could specify allowed countries or regions so that only IPs from those areas are granted access through the tunnel.
Because IPs frequently change or shuffle across regions (especially in shared hosting or cloud networks), the best implementation would likely be to integrate with a geo-IP database provider, such as:
💡 How it could work:
traefik,iptables, or internal ACL).✅ Benefits:
Would be happy to contribute or assist with implementation or design if needed.
Thanks again for the amazing work.
@devdracon commented on GitHub (Jul 6, 2025):
Nick, maybe this plugin will satisfy your needs?
https://docs.fossorial.io/Community%20Guides/geoblock
@oschwartz10612 commented on GitHub (Jul 6, 2025):
^^^ this is a good way to set it up for now. We do have an open feature request for this which is quite popular and we will definitely be adding it sooner rather than later!
Thanks for the request! I am going to close for now as a duplicate as we have some other open requests but feel free to reopen if we missed something! https://github.com/orgs/fosrl/discussions/590
https://github.com/orgs/fosrl/discussions/769