Skip to content

Feature: Add Iran-Access-Only option #55

@ranthe21

Description

@ranthe21

We can use https://github.com/compassvpn/ir-access to fetch all Iranian IPv4 and IPv6 addresses and then set up a simple nftables to only allow these IPs. (except SSH)

Challenges:

  1. CDN inbounds must only be updated to show X-Forwarded IP from Cloudflare. (to not show CF IP, instead the Iranian IP). I think this is the case with our Nginx config; it needs some testing.
  2. The Mahsaserver test servers are from Canada. If the user turns on this option, the config links cannot be imported to the Mahsaserver. This needs to be resolved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions