mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-05-23 22:40:06 +02:00
fix strongswan pidfile
This commit is contained in:
parent
f87ad00ae2
commit
b33593e7a8
@ -21,6 +21,6 @@ EXPOSE 500/udp 4500/udp
|
|||||||
|
|
||||||
CMD set -xe \
|
CMD set -xe \
|
||||||
&& /init.sh \
|
&& /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 \
|
&& iptables -t nat -A POSTROUTING -s $VPN_SUBNET -o eth0 -j MASQUERADE \
|
||||||
&& ipsec start --nofork
|
&& ipsec start --nofork
|
||||||
|
Loading…
x
Reference in New Issue
Block a user