Added modprobe doc for raspbian, fixes #2
This commit is contained in:
@@ -22,8 +22,8 @@ RUN apk add -q --progress --no-cache --update openvpn unbound ca-certificates &&
|
|||||||
COPY unbound.conf /etc/unbound/unbound.conf
|
COPY unbound.conf /etc/unbound/unbound.conf
|
||||||
HEALTHCHECK --interval=10m --timeout=10s --start-period=10s --retries=1 \
|
HEALTHCHECK --interval=10m --timeout=10s --start-period=10s --retries=1 \
|
||||||
CMD export OLD_VPN_IP="$NEW_VPN_IP" && \
|
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.]*') && \
|
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
|
[ "$NEW_VPN_IP" != "$INITIAL_IP" ] && [ "$NEW_VPN_IP" != "$OLD_VPN_IP" ] || exit 1
|
||||||
ENV ENCRYPTION=strong \
|
ENV ENCRYPTION=strong \
|
||||||
PROTOCOL=tcp \
|
PROTOCOL=tcp \
|
||||||
REGION=Germany
|
REGION=Germany
|
||||||
|
|||||||
@@ -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
|
mknod /dev/net/tun c 10 200
|
||||||
insmod /lib/modules/tun.ko
|
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:
|
1. Create a network to be used by this container and other containers connecting to it with:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user