From b33593e7a875312cb6b418e7465f035df60b42fd Mon Sep 17 00:00:00 2001 From: kev Date: Wed, 29 Jun 2016 05:43:41 +0800 Subject: [PATCH] fix strongswan pidfile --- strongswan/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strongswan/Dockerfile b/strongswan/Dockerfile index 699cb6c..dc8456b 100644 --- a/strongswan/Dockerfile +++ b/strongswan/Dockerfile @@ -21,6 +21,6 @@ EXPOSE 500/udp 4500/udp CMD set -xe \ && /init.sh \ - && sysctl -w net.ipv4.ip_forward=1 \ + && rm -f /var/run/starter.charon.pid \ && iptables -t nat -A POSTROUTING -s $VPN_SUBNET -o eth0 -j MASQUERADE \ && ipsec start --nofork