Added modprobe doc for raspbian, fixes #2

This commit is contained in:
Quentin McGaw
2018-06-01 15:02:07 -04:00
parent ede5979541
commit 56121106a9
2 changed files with 8 additions and 2 deletions

View File

@@ -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

View File

@@ -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: