Giter VIP home page Giter VIP logo

Comments (8)

alexbers avatar alexbers commented on June 2, 2024

hi, please try to add SECURE_ONLY=True to the config.py, this will make the proxy harder to detect

from mtprotoproxy.

HirbodBehnam avatar HirbodBehnam commented on June 2, 2024

Hi if you are in Iran, you can do this:

  1. Buy a VPS that is located in Iran and another in a foreign country.
  2. Install Mtproto proxy on the one located in a foreign country.
  3. Enable "SECURE_ONLY". This option is available only in master branch. This option will drop the connections that do not use random padding. (Ones without dd in the beginning)
  4. On the Iranian VPS, route all traffic on a specific port to the port that your proxy is running on your foreign server.
    Let's guess that your proxy on foreign server is running on port 8888. Then you have to choose a port on your Persian server and route all traffic on that port to port 8888, and you main server.
    Here is how you can do this with iptables.
  5. Replace IP and your port in your proxy link. (With your the persian server)
  6. Share the link.

This is because Iran cannot filter local servers.

from mtprotoproxy.

0x9a avatar 0x9a commented on June 2, 2024

hi, please try to add SECURE_ONLY=True to the config.py, this will make the proxy harder to detect

i enabled but blocked!

from mtprotoproxy.

alexbers avatar alexbers commented on June 2, 2024

Could you please provide more information which can help understand why it may be blocked.

  • is it running in Iran or outside?
  • how many users were connected before the blocking?
  • how the proxy was advertised?

from mtprotoproxy.

alexbers avatar alexbers commented on June 2, 2024

also it is important which hosting are you using? On a few of them they are founding proxy very fast

from mtprotoproxy.

0x9a avatar 0x9a commented on June 2, 2024

out side server

original MTProxy 17k
this script 4k user

proxy cahnnels

Hatzener DataCenter

from mtprotoproxy.

mostafa-v avatar mostafa-v commented on June 2, 2024

Hi if you are in Iran, you can do this:

1. Buy a VPS that is located in Iran and another in a foreign country.

2. Install Mtproto proxy on the one located in a foreign country.

3. Enable "SECURE_ONLY". This option is available only in master branch. This option will drop the connections that do not use random padding. (Ones without `dd` in the beginning)

4. On the Iranian VPS, route all traffic on a specific port to the port that your proxy is running on your foreign server.
   Let's guess that your proxy on foreign server is running on port 8888. Then you have to choose a port on your Persian server and route all traffic on that port to port 8888, and you main server.
   [Here](https://www.debuntu.org/how-to-redirecting-network-traffic-to-a-new-ip-using-iptables/) is how you can do this with iptables.

5. Replace IP and your port in your proxy link. (With your the persian server)

6. Share the link.

This is because Iran cannot filter local servers.

Hi

Anyone tested this solution???
Which IP will be shown in Telegram active sessions? Iran VPS IP or client IP?

from mtprotoproxy.

HirbodBehnam avatar HirbodBehnam commented on June 2, 2024

Hi @mostafa-v
I haven't tested it myself but about 5 other guys tested that and reported that it is working fine. Also I'm not sure about active sessions maybe the foreign VPS; because the Iran VPS is just acting like a router.
Also another good idea is to do not share proxy links. Instead, put secret, IP and port in different messages and tell the subscribers (to channel) to set up proxy manually by entering it in their settings. This is because Iran has some kinda bots that search channels for proxy links and will filter them if they detect some. If you put them in different messages, there is a high probability that it won't detect it.

from mtprotoproxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.