From 4479ca209effb4bda236b81491c00c3785b4dc37 Mon Sep 17 00:00:00 2001 From: Preetham Ananthkumar Date: Sun, 16 Jul 2023 19:53:31 +0100 Subject: [PATCH] Added connection between OpenVPN and Server-switch via gateway IP --- OpenVPN.startup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenVPN.startup b/OpenVPN.startup index b386b21..71ff205 100755 --- a/OpenVPN.startup +++ b/OpenVPN.startup @@ -1,3 +1,6 @@ # IP of OpenVPN ip addr add 10.0.5.4/24 dev eth0 ip link set up dev eth0 + +# Gateway IP to Server-switch +ip route add default via 10.0.5.2 dev eth0