TelegramMessenger / MTProxy

4.97k stars 822 forks source link

Proxy-multi.conf #77

Closed mzhrisec closed 6 years ago

mzhrisec commented 6 years ago

Hi I try to run this with command

./mtproto-proxy -u iau -p 8888 -H 443 -S d73259fed234c5bbd6ed7479846ffa2f --aes-pwd proxy-secret proxy-multi.conf -M 1 And show this error: Jun 4 2018 04:55:28 by gcc 6.4.0 20180123 64-bit after commit cdd348294d86e74442bb29bd6767e48321259bec [27417][2018-06-04 05:28:16.114132 local] config_filename = 'proxy-multi.conf' [27417][2018-06-04 05:28:16.114149 local] cannot re-read config file proxy-multi.conf: No such file or directory config check failed! (code -1)

What can i do?

d0tfile commented 6 years ago

@mro0t i think you missed some steps from manual: curl -s https://core.telegram.org/getProxyConfig -o proxy-multi.conf (README)

vvl-code commented 6 years ago

curl -s https://core.telegram.org/getProxySecret -o proxy-secret Ive done so. But dont get the proxy-secret. Cause i live in Russia and telegram.org is blocked. I think that is the problem is. proxy-multi.conf ive added manualy. But with the proxy-secret i dont know what to do. I need help. Thank you.

jamesfirstv commented 6 years ago

Why you need proxy-secret if you have no connection? First of all you need VPN.

Дружище, прокси не заработает без видимости сети ТОН. Нужно сначала обеспечить видимость, например, через VPN, а там у тебя и файло само качнётся

vvl-code commented 6 years ago

Да. Все верно. Тор помог с файлом. Но не решил остальных проблем. Спасибо за помощь. Но от идеи запустить его дома придется отказаться.

jamesfirstv commented 6 years ago

Ни в коем случае не стоит отказываться от того, что можешь сделать сам.

Раз вы здесь, значит у вас есть Linux хост. На этом хосте вы можете использовать или openvpn (даст виртуальную сетевуху без блокировок), или socks5 proxy (даст подключение для конкретной проги, в вашем случае для MTProxy). Дальше, вопрос только в том, кто ваш сообщник за занавесом (например, другой ваш хостинг с openvpn-сервером или dante socks proxy server)

vvl-code commented 6 years ago

Спасибо за добрые слова. Я имел ввиду дома. Я уже занялся aws Amazon. Все будет хорошо, я думаю.