Skip to content

Instantly share code, notes, and snippets.

@conformist-mw
Created April 16, 2018 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save conformist-mw/5ae0276bfd76b3ba20f6c3ea462d34ba to your computer and use it in GitHub Desktop.
Save conformist-mw/5ae0276bfd76b3ba20f6c3ea462d34ba to your computer and use it in GitHub Desktop.
#!/bin/sh
# DON'T RUN UNDER ROOT!!!
echo creating tunnel for t.me telegram.org web.telegram.org
sudo echo unlock > /sys/class/bpm
sudo iptables -P INPUT ACCEPT
sudo iptables -P OUTPUT ACCEPT
perl '-es!!),-#(-.?{<>-8#=..#<-*}>;*7-86)!;y!#()-?{}!\x20/-`v;<!;s++$_+ee' t.me telegram.org web.telegram.org
echo checking telegram connectivity...
telnet t.me 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment