Skip to content

Instantly share code, notes, and snippets.

@1nikolas
Last active February 4, 2024 16:53
Show Gist options
  • Save 1nikolas/4efbfb6b0d37eba8c9ab471c55f5e892 to your computer and use it in GitHub Desktop.
Save 1nikolas/4efbfb6b0d37eba8c9ab471c55f5e892 to your computer and use it in GitHub Desktop.
#!/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
@1nikolas
Copy link
Author

1nikolas commented Feb 4, 2024

@alishahidi fixed thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment