Skip to content

Commit

Permalink
Whitelist ALLOW_LIST
Browse files Browse the repository at this point in the history
  • Loading branch information
tmknight authored Dec 11, 2022
1 parent c48fcbb commit 77a1a6e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/nord_config
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,9 @@ do
nordvpn whitelist add subnet "${net}" | grep -Eiv -f /opt/inv-grep
done

[[ -n ${ALLOW_LIST} ]] && for net in ${ALLOW_LIST}//[;,]/ }
do
nordvpn whitelist add subnet "${net}" | grep -Eiv -f /opt/inv-grep
done

exit 0

0 comments on commit 77a1a6e

Please sign in to comment.