Last active
February 4, 2024 16:53
-
-
Save 1nikolas/4efbfb6b0d37eba8c9ab471c55f5e892 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 | |
echo "\nscreen -AmdS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7300" | sudo tee -a /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
@illmanner
sudo apt install screen