This commit is contained in:
2025-07-20 14:50:21 +02:00
parent 6463914129
commit 358ffcc9b9
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ in {
${iproute2}/bin/ip link set wg0 netns ${cfg.namespace}
${iproute2}/bin/ip -n ${cfg.namespace} address add ${cfg.privateIP} dev wg0
${iproute2}/bin/ip netns exec ${cfg.namespace} \
wg setconf wg0 ${cfg.configFile}
${wireguard-tools}/bin/wg setconf wg0 ${cfg.configFile}
${iproute2}/bin/ip -n ${cfg.namespace} link set wg0 up
${iproute2}/bin/ip -n ${cfg.namespace} link set lo up
${iproute2}/bin/ip -n ${cfg.namespace} route add default dev wg0