Golden Codes - armanexplorer planet

Practical code snippets for Django, Python, Bash, Git and All!

View on GitHub

udpgw

We can do this in many ways include:

More common way

Docs

wget -O /usr/bin/badvpn-udpgw "https://raw.githubusercontent.com/daybreakersx/premscript/master/badvpn-udpgw64"
chmod u+x /usr/bin/badvpn-udpgw

cat <<EOF > /etc/rc.local
#!/bin/sh -e
screen -AmdS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7301
exit 0
EOF
chmod u+x /etc/rc.local

systemctl daemon-reload
systemctl start rc-local.service
screen -AmdS badvpn badvpn-udpgw --listen-addr 127.0.0.1:7301

By using "screen -AmdS", you are essentially creating a new screen session that is detached, ensuring it runs independently in the background with the specified session name.

Xpanel (builds from source)

Docs Source

curl -O https://raw.githubusercontent.com/xpanel-cp/XPanel-SSH-User-Management/master/fix-call.sh

run out of 403 Google

Ref

curl -O https://raw.githubusercontent.com/jinwyp/one_click_script/master/install_kernel.sh && chmod u+x ./install_kernel.sh && ./install_kernel.sh

others

Some new repo on bad-vpn UDPGW