-
-
Save imorteza/0f0b0c8eefc804aa68d8b1a09b78cc78 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
OS=`uname -m`; | |
sudo wget -O /usr/bin/badvpn-udpgw "https://raw.githubusercontent.com/daybreakersx/premscript/master/badvpn-udpgw" | |
if [ "$OS" == "x86_64" ]; then | |
sudo wget -O /usr/bin/badvpn-udpgw "https://raw.githubusercontent.com/daybreakersx/premscript/master/badvpn-udpgw64" | |
fi | |
sudo touch /etc/rc.local | |
sudo echo "\nscreen -AmdS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7300" >> /etc/rc.local | |
sudo chmod +x /usr/bin/badvpn-udpgw | |
sudo screen -AmdS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7300 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment