Unverified Commit 19b6f0dc authored by Ahmad Nemati's avatar Ahmad Nemati Committed by GitHub

Update install.sh

parent 76d1b55c
......@@ -8,4 +8,4 @@ curl -s https://core.telegram.org/getProxySecret -o proxy-secret
curl -s https://core.telegram.org/getProxyConfig -o proxy-multi.conf
IP="$(curl -s -4 "https://digitalresistance.dog/myIp")"
INTERNAL_IP="$(ip -4 route get 8.8.8.8 | grep '^8\.8\.8\.8\s' | grep -Po 'src\s+\d+\.\d+\.\d+\.\d+' | awk '{print $2}')"
./mtproto-proxy -u nobody -p 8888 -H 443 -S 16b921897708fd86d8d25a6018836379 --aes-pwd proxy-secret proxy-multi.conf -M 2 -P a1b4e1abeb89ff73685d9b8dbc36e646 --nat-info "$INTERNAL_IP:$IP"
./mtproto-proxy -u nobody -p 8888 -H 443 -S b3fbb5fb4e41d80f9d0860ec978ee50d --aes-pwd proxy-secret proxy-multi.conf -M 2 -P 4ef9eabeb5aba0cd9d92250c14c408c2 --nat-info "$INTERNAL_IP:$IP"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment