|
@ -394,7 +394,7 @@ var swarmlab_config_template = ` |
|
|
ip link add $DEV_NAME type wireguard |
|
|
ip link add $DEV_NAME type wireguard |
|
|
|
|
|
|
|
|
# set wireguard conf |
|
|
# set wireguard conf |
|
|
wg setconf $DEV_NAME ${mypath}/hybrid/connect/$DEV_NAME.conf |
|
|
wg setconf $DEV_NAME ${mypath}/hybrid/connect/wg0.conf |
|
|
|
|
|
|
|
|
# assign ip to wireguard interface |
|
|
# assign ip to wireguard interface |
|
|
ip addr add $INTERFACE_IP dev $DEV_NAME |
|
|
ip addr add $INTERFACE_IP dev $DEV_NAME |
|
|