koco

command module
v0.0.0-...-a1d7ac6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 19 Imported by: 0

README

KOCO

Simple web UI for managing certs of kylemanna/docker-openvpn.

KOCO stands for Kyle's OpenVPN Certs Organizer, suggested by copilot. Original idea is Kylemanna/dOCker-Openvpn

Build Image

docker build --build-arg https_proxy=http://host.docker.internal:1080 -t allape/koco .

Run

# Initialize OpenVPN
export OVPN_DATA="$(pwd)/openvpn-config"
docker run -v $OVPN_DATA:/etc/openvpn --rm kylemanna/openvpn ovpn_genconfig -u udp://localhost:1194
docker run -v $OVPN_DATA:/etc/openvpn --rm -it kylemanna/openvpn ovpn_initpki

# Config compose.koco.yaml to change CA password or something else
# Start the daemon
docker compose -f compose.koco.yaml up -d

Run on the host with controlling the docker container

KOCO_BIND="127.0.0.1:8081" OVPN_DOCKER_EXEC_COMMAND="docker compose -f compose.koco.yaml exec koco" OPENVPN=./openvpn-config go run .

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL