ironhalik / docker-wireguard

Wireguard container for linux, with quick start-up
40 stars 7 forks source link

multi config files & host fixup #2

Closed steininet closed 2 years ago

steininet commented 5 years ago

Hi,

i played a bit with this wireguard solution. Had some trouble to implement multiple wireguard docker containers on one host and to change your entrypoint script to provide multiple config files to get multiple wireguard interfaces.

network_mode: host exposes all ports to the container and linked containers. the docker-compose now publish the port (udp)

i hope that works also for you :-)