unifios-utilities/wireguard-go/on_boot.d/20-wireguard.sh

4 lines
206 B
Bash
Raw Normal View History

2020-07-11 19:03:29 +00:00
#!/bin/sh
podman run -i -d --rm --net=host --name wireguard --privileged -v /mnt/data/wireguard:/etc/wireguard -v /dev/net/tun:/dev/net/tun -e LOG_LEVEL=info -e WG_COLOR_MODE=always masipcat/wireguard-go