diff --git a/docker/services/tinc b/docker/services/tinc index af5ba73..8b2dd9b 100644 --- a/docker/services/tinc +++ b/docker/services/tinc @@ -25,4 +25,7 @@ ports: - "${tinc_bind_port:-9993}:${tinc_bind_port:-9993}/tcp" - "${tinc_bind_port:-9993}:${tinc_bind_port:-9993}/udp" +{{ if eq "1" "${wg_enabled:-0}" }} + - "${wg_port:-51820}:${wg_port:-51820}/udp" +{{ end }} {{ end }}