From 56121106a980bd692bed26ef6378f2da59326aad Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Fri, 1 Jun 2018 15:02:07 -0400 Subject: [PATCH] Added modprobe doc for raspbian, fixes #2 --- Dockerfile | 4 ++-- README.md | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 23e136f2..e0dfc204 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,8 +22,8 @@ RUN apk add -q --progress --no-cache --update openvpn unbound ca-certificates && COPY unbound.conf /etc/unbound/unbound.conf HEALTHCHECK --interval=10m --timeout=10s --start-period=10s --retries=1 \ CMD export OLD_VPN_IP="$NEW_VPN_IP" && \ - export NEW_VPN_IP=$(wget -qqO- 'https://duckduckgo.com/?q=what+is+my+ip' | grep -ow 'Your IP address is [0-9.]*[0-9]' | grep -ow '[0-9][0-9.]*') && \ - [ "$NEW_VPN_IP" != "$INITIAL_IP" ] && [ "$NEW_VPN_IP" != "$OLD_VPN_IP" ] || exit 1 + export NEW_VPN_IP=$(wget -qqO- 'https://duckduckgo.com/?q=what+is+my+ip' | grep -ow 'Your IP address is [0-9.]*[0-9]' | grep -ow '[0-9][0-9.]*') && \ + [ "$NEW_VPN_IP" != "$INITIAL_IP" ] && [ "$NEW_VPN_IP" != "$OLD_VPN_IP" ] || exit 1 ENV ENCRYPTION=strong \ PROTOCOL=tcp \ REGION=Germany diff --git a/README.md b/README.md index a85f0495..16a114f3 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,12 @@ Cloudflare **DNS 1.1.1.1 over TLS** is used to connect to any PIA server for mul mknod /dev/net/tun c 10 200 insmod /lib/modules/tun.ko ``` + + On Raspbian, simply run: + + ```bash + sudo modprobe tun + ``` 1. Create a network to be used by this container and other containers connecting to it with: