about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 2330bd5..036b2b4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,7 @@ WORKDIR /prod
 
 # Install OpenVPN
 RUN apk update
-RUN apk add openvpn
+RUN apk add openvpn iptables
 
 # Copy our chainloader script
 COPY chainloader.sh /prod/chainloader.sh
@@ -15,6 +15,8 @@ RUN chmod +x /prod/chainloader.sh
 # Copy server and client config files
 COPY server.conf /prod/server.conf
 COPY client.conf /prod/client.conf
+COPY nat.sh /prod/nat.sh
+RUN chmod +x /prod/nat.sh
 
 # Copy client config host code and compile it
 COPY host.go /tmp/host.go