Skip to content

Commit

Permalink
add back nordvpn DNS by default closes #67
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Gutierrez committed Sep 26, 2022
1 parent 7218b23 commit 94a29a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -111,7 +111,7 @@ Wireguard module is required, please install it [manually](https://www.wireguard
| `PRIVATE_KEY_FILE` | | File from which to get PASS, if using docker secrets this should be set to /run/secrets/<secret_name>. This file should contain just the account password on the first line.
| `LISTEN_PORT` | 51820 | A 16-bit port for listening.
| `ADDRESS` | 10.5.0.2/32 | A comma-separated list of IP (v4 or v6) addresses (optionally with CIDR masks) to be assigned to the interface.
| `DNS` | | A comma-separated list of IP (v4 or v6) addresses to be set as the interface's DNS servers, or non-IP hostnames to be set as the interface's DNS search domains.
| `DNS` | [103.86.96.100<br/>103.86.99.100](https://support.nordvpn.com/General-info/1047409702/What-are-your-DNS-server-addresses.htm) | A comma-separated list of IP (v4 or v6) addresses to be set as the interface's DNS servers, or non-IP hostnames to be set as the interface's DNS search domains.
| `TABLE` | | Controls the routing table to which routes are added. There are two special values: `off` disables the creation of routes altogether, and `auto` (suggested for most users) adds routes to the default table and enables special handling of default routes.
| `ALLOWED_IPS` | 0.0.0.0/0 | A comma-separated list of IP (v4 or v6) addresses with CIDR masks from which incoming traffic for this peer is allowed and to which outgoing traffic for this peer is directed. For Synology, read [this](https://github.com/bubuntux/nordlynx/wiki/Synology).
| `PERSISTENT_KEEP_ALIVE` | 25 | A second interval, between 1 and 65535 inclusive, of how often to send an authenticated empty packet to the peer for the purpose of keeping a stateful firewall or NAT mapping valid persistently.
Expand Down
4 changes: 2 additions & 2 deletions root/etc/services.d/wireguard/run
Expand Up @@ -24,7 +24,7 @@ fi
PrivateKey = ${PRIVATE_KEY}
ListenPort = ${LISTEN_PORT:-51820}
Address = ${ADDRESS:-10.5.0.2/32}
DNS = ${DNS}
DNS = ${DNS:-103.86.96.100,103.86.99.100}
Table = ${TABLE}
PreUp = ${PRE_UP}
PostUp = ${POST_UP}
Expand All @@ -46,4 +46,4 @@ echo "[$(date -Iseconds)] Connected! \(ᵔᵕᵔ)/"
if [[ -n ${RECONNECT} ]]; then
echo "[$(date -Iseconds)] Reconnecting in ${RECONNECT} seconds"
fi
sleep "${RECONNECT:-infinity}"
sleep "${RECONNECT:-infinity}"

0 comments on commit 94a29a6

Please sign in to comment.