Switchman
A small web server to switch OpenVPN/WireGuard servers (remote/endpoints), so it can change the corresponding exits.
It listens on TCP IPv4/IPv6 at the specified port.
Example:
$ go run . -listen :81
Setup
Install go package, create Debian package, install:
$ go get -u github.com/StalkR/switchman
$ cd $GOPATH/src/github.com/StalkR/switchman
$ fakeroot debian/rules clean binary
$ sudo dpkg -i ../switchman_1-1_amd64.deb
Configure in /etc/default/switchman
and start with /etc/init.d/switchman start
.
License
Bugs, feature requests, questions
Create a new issue.