获取 Telegram ipv4 服务器列表及配置
1
curl -s https://core.telegram.org/getProxyConfig -o proxy-multi.conf
获取 Telegram ipv6 服务器列表及配置
1
curl -s https://core.telegram.org/getProxyConfigV6 -o proxy-multi.conf
MTProxy.service
1
2
3
4
5
6
7
8
9
10
11
12[Unit]
Description=MTProxy
After=network.target
[Service]
Type=simple
WorkingDirectory=/etc/mtproxy
ExecStart=/usr/local/bin/mtproto-proxy -u nobody -p 8888 -H 6443 -S <secret> -P <proxy tag> --aes-pwd proxy-secret proxy-multi.conf -M 1 --address 127.0.0.1
Restart=on-failure
[Install]
WantedBy=multi-user.target其他从网上现查吧