Skip to content

[Feature Request] Add Tor network and bridges support (Obfs4, Snowflake, etc.) #159

Description

@astrica1

Hello and great job to the MahsaNG development team,

First of all, I want to sincerely thank you for building and maintaining this amazing tool and your relentless efforts to help provide free internet access.

Feature Request:
Add support for the Tor network and its various bridges (such as Obfs4, Snowflake, Meek, and Conjure) to MahsaNG.

Description and Necessity:
As you know, in conditions of severe internet censorship and network instability (especially in Iran), standard protocols sometimes face disruptions even with techniques like Fragment and Reality. In these situations, the Tor network and especially its bridges (like Snowflake and Obfs4) play a vital role in keeping users connected.

Currently, apps like Invisible Pro successfully use the Tor network and its bridges, and have been able to provide good connection stability for users in harsh censorship conditions. Adding this capability to MahsaNG could turn this tool into a more comprehensive and powerful solution.

Benefits of this feature:

  1. Additional anti-censorship layer: Combining Tor with the Mahsa core (e.g., via Proxy Chain) can bypass even the strictest DPI restrictions.
  2. Variety in connection methods: Users can quickly switch to Snowflake or Obfs4 if their v2ray configs get blocked.
  3. Custom Bridges support: Allowing advanced users to input Bridge Strings manually.

Implementation suggestions:

  • Add a dedicated section in settings or the main menu to select the Tor connection type (Obfs4, Snowflake, Meek, etc.).
  • Ability to chain Tor with other proxies (e.g., connecting to Psiphon or v2ray configs via Tor).
  • Option to input Custom Bridges via text.
  • Display the connection status of bridges and allow quick switching if disconnected.

I hope this suggestion is reviewed and considered by the development team. Adding this feature could be a huge help to users during difficult censorship days.

Thank you in advance for your time and attention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions