mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
fix strongswan pidfile
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user