cat > /etc/supervisor/conf.d/badvpn-udpgw.conf <<EOF [program:badvpn-udpgw] command = /usr/bin/docker run --rm --name badvpn-udpgw --net=host felixonmars/archlinux badvpn-udpgw --listen-addr 127.0.0.1:7300 EOF supervisorctl update
add-apt-repository -y ppa:ambrop7/badvpn apt update apt install -y badvpn
badvpn-udpgw --listen-addr 127.0.0.1:7300
cat > /etc/supervisor/conf.d/badvpn-udpgw.conf <<EOF [program:badvpn-udpgw] command = /usr/bin/badvpn-udpgw --listen-addr 127.0.0.1:7300 EOF supervisorctl update
References: