rundqvist / docker-openvpn

MIT License
4 stars 4 forks source link

Allow connection even if filtered list contains no remotes #3

Closed rundqvist closed 3 years ago

rundqvist commented 4 years ago

When using VPN_INCLUDED_REMOTES and VPN_EXCLUDED_REMOTES the list of allowed remotes could be empty (especially a problem when connecting to multiple vpn's).

Change behavior to allowing all remotes by default, if filtered list of remotes is empty, and add new environment variable VPN_REMOTES_FILTER_MODE=strict for keeping old behavior (of not connecting).