Skip to content

Commit

Permalink
update to 3.12.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Gutierrez committed Feb 5, 2022
1 parent e1ec6b6 commit 9eff5d4
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM s6on/ubuntu:20.04
LABEL maintainer="Julio Gutierrez [email protected]"

ARG NORDVPN_VERSION=3.12.2
ARG NORDVPN_VERSION=3.12.3
ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update -y && \
Expand All @@ -21,4 +21,4 @@ RUN apt-get update -y && \

COPY /rootfs /
ENV S6_CMD_WAIT_FOR_SERVICES=1
CMD nord_login && nord_config && nord_connect && nord_watch
CMD nord_login && nord_config && nord_connect && nord_migrate && nord_watch
1 change: 1 addition & 0 deletions rootfs/etc/fix-attrs.d/nord_utils
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
/usr/bin/nord_connect false root:root 0755 0755
/usr/bin/nord_login false root:root 0755 0755
/usr/bin/nord_private_key false root:root 0755 0755
/usr/bin/nord_migrate false root:root 0755 0755
/usr/bin/nord_watch false root:root 0755 0755
2 changes: 1 addition & 1 deletion rootfs/usr/bin/nord_config
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[[ -n ${CYBER_SEC} ]] && nordvpn set cybersec ${CYBER_SEC}
[[ -n ${OBFUSCATE} ]] && nordvpn set obfuscate ${OBFUSCATE}
[[ -n ${FIREWALL} ]] && nordvpn set firewall ${FIREWALL}
#[[ -n ${KILLSWITCH} ]] && nordvpn set killswitch ${KILLSWITCH} Killswitch is enabled by default by iptables
#[[ -n ${KILLSWITCH} ]] && nordvpn set killswitch ${KILLSWITCH} Killswitch is enabled by default using iptables

[[ -n ${PROTOCOL} ]] && nordvpn set protocol ${PROTOCOL}
nordvpn set technology ${TECHNOLOGY:-NordLynx}
Expand Down
18 changes: 18 additions & 0 deletions rootfs/usr/bin/nord_migrate
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/with-contenv bash

shopt -s nocasematch; if [[ "${TECHNOLOGY:-NordLynx}" =~ "NordLynx" ]]; then
echo "############################################################"
echo "__ .___ ___. .______ ______ .______ .___________. ___ .__ __. .___________. "
echo "| | | \/ | | _ \ / __ \ | _ \ | | / \ | \ | | | |"
echo "| | | \ / | | |_) | | | | | | |_) | \`---| |----\` / ^ \ | \| | \`---| |----\`"
echo "| | | |\/| | | ___/ | | | | | / | | / /_\ \ | . \` | | |"
echo "| | | | | | | | | \`--' | | |\ \----. | | / _____ \ | |\ | | |"
echo "|__| |__| |__| | _| \______/ | _| \`._____| |__| /__/ \__\ |__| \__| |__|"
echo "↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓"
echo "Please migrate to the NordLynx container (https://github.com/bubuntux/nordlynx)"
echo "Here is your private Key: $(wg show nordlynx private-key)"
echo "IP: $(ip -o addr show dev nordlynx | awk '$3 == "inet" {print $4}')"
echo "############################################################"
fi

exit 0

0 comments on commit 9eff5d4

Please sign in to comment.