diff --git a/entrypoint.sh b/entrypoint.sh index 6d2dfb8..50beeca 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -29,6 +29,8 @@ trap "shut_down" SIGINT SIGTERM SIGKILL 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