From 55dbb0b182816958ac4145d98a1bef2465c47a90 Mon Sep 17 00:00:00 2001 From: kev Date: Tue, 23 Jun 2015 15:13:00 +0800 Subject: [PATCH] update --- tinc/Dockerfile | 2 +- tinc/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tinc/Dockerfile b/tinc/Dockerfile index 2179571..88c0ec3 100644 --- a/tinc/Dockerfile +++ b/tinc/Dockerfile @@ -19,7 +19,7 @@ RUN apk add -U iptables tinc \ WORKDIR /etc/tinc/$NETNAME -RUN echo -e "Name=server\\nAddressFamily=ipv4\\nInterface=tun0" > tinc.conf \ +RUN echo -e "Name=server" > tinc.conf \ && echo -e "Subnet=$ADDRESS\\nSubnet=0.0.0.0/0" > hosts/server \ && echo -e "\\n" | tincd -n $NETNAME -K4096 \ && echo -e "ifconfig \$INTERFACE $ADDRESS netmask $NETMASK" > tinc-up \ diff --git a/tinc/README.md b/tinc/README.md index 3476e87..3ded7c4 100644 --- a/tinc/README.md +++ b/tinc/README.md @@ -66,7 +66,7 @@ $ watch docker exec tinc_tinc_1 netstat -an ``` # start -$ tincd -D -d -n netname --pidfile /tmp/tinc.pid +$ tincd -d -D -n netname --pidfile /tmp/tinc.pid # stop $ tincd -k --pidfile /tmp/tinc.pid