Comments (8)
hi, please try to add SECURE_ONLY=True to the config.py, this will make the proxy harder to detect
from mtprotoproxy.
Hi if you are in Iran, you can do this:
- Buy a VPS that is located in Iran and another in a foreign country.
- Install Mtproto proxy on the one located in a foreign country.
- 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) - 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. - Replace IP and your port in your proxy link. (With your the persian server)
- Share the link.
This is because Iran cannot filter local servers.
from mtprotoproxy.
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.
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.
also it is important which hosting are you using? On a few of them they are founding proxy very fast
from mtprotoproxy.
out side server
original MTProxy 17k
this script 4k user
proxy cahnnels
Hatzener DataCenter
from mtprotoproxy.
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.
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)
- Ydh
- proxy
- unknown rpc ans type: b'\xdf\xa20W' HOT 1
- MTProxy Admin Bot dont accept my secret cause python script make it more than 32 hex. Please, help!
- . HOT 2
- .
- . HOT 1
- When open telegam app , it takes too long time wait for connecting to the proxy HOT 2
- Proxy works on Telegram Desktop (Windows) but not on Android Telegram
- Error in source code
- Does MTProto allow to route all a device internet traffic to the proxy? Like a VPN? HOT 1
- .
- IPV6 dont work when i add users
- IP white list method - amazon changer & checker - local server tunnel
- Installing Python MTProxy on CentOS 8 with Python update HOT 5
- port change doesnt work in config.py HOT 1
- Dokerfile for debian 12 HOT 1
- ERROR: Service 'mtprotoproxy' failed to build: The command '/bin/sh -c apt-get update && apt-get install --no-install-recommends -y python3 python3-uvloop python3-cryptography python3-socks libcap2-bin ca-certificates && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100 HOT 3
- It only works for a few minutes HOT 2
- python3.12 run Error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtprotoproxy.