diff --git a/entrypoint.sh b/entrypoint.sh index b43d499..cf46c3b 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -28,11 +28,7 @@ trap "shut_down" SIGINT SIGTERM SIGKILL # start service in background here start_openvpn sleep 3 -iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE -# L2TP route -ip route add 192.168.2.0/24 via 172.31.1.3 dev eth0 -#ip route add 192.168.1.0/24 via 192.168.2.1 dev eth0 -#bash +test -f /root/post-up.sh && /root/post-up.sh while true do