Skip to content

Commit

Permalink
openvpn: ifctl requires interface to operate
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Nov 3, 2022
1 parent 1d1155e commit 9c5b266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/etc/inc/plugins.inc.d/openvpn/ovpn-linkup
Expand Up @@ -24,8 +24,8 @@ elif [ -n "${ifconfig_ipv6_local}" ]; then
ROUTERV6="-a ${ifconfig_ipv6_local}"
fi

/usr/local/sbin/ifctl -4rd ${ROUTERV4}
/usr/local/sbin/ifctl -6rd ${ROUTERV6}
/usr/local/sbin/ifctl -4rd -i ${1} ${ROUTERV4}
/usr/local/sbin/ifctl -6rd -i ${1} ${ROUTERV6}

/usr/local/sbin/configctl -d interface newip ${1}

Expand Down

0 comments on commit 9c5b266

Please sign in to comment.