Categorygithub.com/StalkR/switchman
repositorypackage
0.0.0-20240428145714-af836c220fd7
Repository: https://github.com/stalkr/switchman.git
Documentation: pkg.go.dev

# README

Switchman

Build Status Godoc

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

Clone this repo, create Debian package, install:

$ git clone github.com/StalkR/switchman
$ cd 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

Apache License, version 2.0.

Bugs, feature requests, questions

Create a new issue.