Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
suhsteve committed Jul 21, 2021
1 parent 03d1c96 commit 00ab6d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ services:
- Provide a [city] argument to connect to a specific city. For example: 'Hungary Budapest' , Use `docker run --rm ghcr.io/bubuntux/nordvpn cities [country]` to get the list of cities.
- Provide a [group] argument to connect to a specific servers group. For example: P2P , Use `docker run --rm ghcr.io/bubuntux/nordvpn n_groups` to get the full list.
- --group value Specify a server group to connect to. For example: '--group p2p us'
* `POST_CONNECT` - Command to execute after successful connection.
* `CYBER_SEC` - Enable or Disable. When enabled, the CyberSec feature will automatically block suspicious websites so that no malware or other cyber threats can infect your device. Additionally, no flashy ads will come into your sight. More information on how it works: https://nordvpn.com/features/cybersec/.
* `DNS` - Can set up to 3 DNS servers. For example 1.1.1.1,8.8.8.8 or Disable, Setting DNS disables CyberSec.
* `FIREWALL` - Enable or Disable.
Expand Down
3 changes: 3 additions & 0 deletions start_vpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ connect() {
sleep ${current_sleep}
current_sleep=$((current_sleep * 2))
done
if [[ ! -z "${POST_CONNECT}" ]]; then
eval ${POST_CONNECT}
fi
}
connect
[[ -n ${DEBUG} ]] && tail -n 1 -f /var/log/nordvpn/daemon.log &
Expand Down

0 comments on commit 00ab6d5

Please sign in to comment.