Skip to content

Commit 3dd17c0

Browse files
committed
NordVPN verison update, IP-NF tables check, NordWhisper
1 parent ceea584 commit 3dd17c0

File tree

6 files changed

+27
-2
lines changed

6 files changed

+27
-2
lines changed

docker-compose/.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ NORDVPN_TOKEN=abcdefgh12345678
77
NORDVPN_TOKENFILE=/path/to/tokenfile
88
# Enable debug mode, anything non-empty will ENABLE. Use this if you need more verbose error logging.
99
NORDVPN_MESHNET_DEBUG=
10+
# Enable the NordWhisper protocol, anything non-empty will ENABLE. Do not use this placeholder, NordWhisper is not yet available for Meshnet!
11+
# NORDVPN_WHISPER=
1012
# Healthcheck interval in seconds, default is 300.
1113
NORDVPN_HEALTHCHECK_INTERVAL=300
1214
# Healthcheck URL to verify if connectivity is up. Replace this with something on your Meshnet (if available), defaults to Google.

docker-compose/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: "3"
22
services:
33
meshnet:
4-
image: ghcr.io/mattstechinfo/meshnet:v3.17.0
4+
image: ghcr.io/mattstechinfo/meshnet:v3.20.0
55
restart: unless-stopped
66
cap_add:
77
- NET_ADMIN

fs/etc/services.d/nordvpn/run

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
#!/bin/bash
22

3+
legacy_supported=$(lsmod | grep ip_tables >/dev/null 2>&1 && echo yes || echo no)
4+
nft_supported=$(lsmod | grep nf_tables >/dev/null 2>&1 && echo yes || echo no)
5+
if [ x$IPTABLES = xlegacy ] ; then
6+
if [ x$legacy_supported = xyes ] ; then
7+
update-alternatives --set iptables /usr/sbin/iptables-legacy
8+
else
9+
update-alternatives --set iptables /usr/sbin/iptables-nft
10+
fi
11+
else
12+
if [ x$nft_supported = xyes ] ; then
13+
update-alternatives --set iptables /usr/sbin/iptables-nft
14+
else
15+
update-alternatives --set iptables /usr/sbin/iptables-legacy
16+
fi
17+
fi
18+
319
if [[ ! -d /run/nordvpn ]]; then
420
mkdir -m 0770 /run/nordvpn
521
fi

fs/usr/bin/meshnet_config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ if [[ -n ${NORDVPN_NICKNAME} ]]; then
1111
nordvpn meshnet set nickname ${NORDVPN_NICKNAME}
1212
fi
1313

14+
# Enable the new NordWhisper protocol if requested, not yet supported.
15+
#if [[ -n ${NORDVPN_WHISPER} ]]; then
16+
# nordvpn set technology nordwhisper
17+
#fi
18+
1419
# Iterate through Meshnet peer permissions
1520
if [[ -n ${NORDVPN_DENY_PEER_ROUTING} ]]; then
1621
read -ra deny_routing <<< "${NORDVPN_DENY_PEER_ROUTING}"

kubernetes/meshnet-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
hostname: meshnet
1818
containers:
1919
- name: meshnet
20-
image: ghcr.io/mattstechinfo/meshnet:v3.17.0
20+
image: ghcr.io/mattstechinfo/meshnet:v3.20.0
2121
securityContext:
2222
capabilities:
2323
add: ["NET_ADMIN","NET_RAW"]

kubernetes/meshnet-env.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ data:
1313
NORDVPN_TOKENFILE: /path/to/tokenfile
1414
# Enable debug mode, anything non-empty will ENABLE. Use this if you need more verbose error logging.
1515
NORDVPN_MESHNET_DEBUG: ""
16+
# Enable the NordWhisper protocol, anything non-empty will ENABLE. Do not use this placeholder, NordWhisper is not yet available for Meshnet!
17+
# NORDVPN_WHISPER= ""
1618
# Healthcheck interval in seconds, default is 300.
1719
NORDVPN_HEALTHCHECK_INTERVAL: 300
1820
# Healthcheck URL to verify if connectivity is up. Replace this with something on your Meshnet (if available), defaults to Google.

0 commit comments

Comments
 (0)