Table of Contents

Supervisor Conf with Docker

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

Installation (Ubuntu 14.04 or older)

add-apt-repository -y ppa:ambrop7/badvpn
apt update
apt install -y badvpn

UDP Daemon

badvpn-udpgw --listen-addr 127.0.0.1:7300

Sample Supervisor Conf

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: