Browse Source

Update conf/scripts/route-up.d/40-vpnclient-set-ipv6

Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com>
HgO 8 months ago
parent
commit
78483a4a8c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      conf/scripts/route-up.d/40-vpnclient-set-ipv6

+ 1 - 0
conf/scripts/route-up.d/40-vpnclient-set-ipv6

@@ -6,6 +6,7 @@ is_ip6addr_set() {
 }
 }
 
 
 ip6_addr=$(yunohost app setting "vpnclient" "ip6_addr")
 ip6_addr=$(yunohost app setting "vpnclient" "ip6_addr")
+# cf https://openvpn.net/community-resources/reference-manual-for-openvpn-2-4/#environmental-variables for where 'dev' comes from
 gateway_interface=${dev}
 gateway_interface=${dev}
 
 
 if [[ -n "${ip6_addr}" ]] && [[ "${ip6_addr}" != none ]]; then
 if [[ -n "${ip6_addr}" ]] && [[ "${ip6_addr}" != none ]]; then