Added port forwarding, fixes #14

This commit is contained in:
Quentin McGaw
2019-06-26 17:24:10 +02:00
parent fc177675ad
commit 62f4cc56b4
3 changed files with 26 additions and 3 deletions

View File

@@ -57,9 +57,9 @@ RUN apk add -q --progress --no-cache --update openvpn wget ca-certificates iptab
tar -cjf /etc/unbound/blocks-nsa.bz2 blocks-nsa.conf && \
rm -f /tmp/*
COPY unbound.conf /etc/unbound/unbound.conf
COPY entrypoint.sh healthcheck.sh /
COPY entrypoint.sh healthcheck.sh portforward.sh /
RUN chown nonrootuser -R /etc/unbound && \
chmod 700 /etc/unbound && \
chmod 600 /etc/unbound/unbound.conf && \
chmod 500 /entrypoint.sh /healthcheck.sh && \
chmod 500 /entrypoint.sh /healthcheck.sh /portforward.sh && \
chmod 400 /etc/unbound/root.hints /etc/unbound/root.key /etc/unbound/*.bz2