I am connecting to a service provider via VPN and it is required to route as: Provider IP<->VPN<->Host. I have setup a droplet and configured it with strongswan to setup the ipsec VPN and it is working. However, I need to route all traffic to the provider IP via my VPN gateway for encryption and tunneling to Provider. I am not sure what I am doing wrong but when I try adding a static route between my host and my VPN droplet, it returns the following error: SIOCADDRT: Network is unreachable. The PROVIDER IP network is configured to not respond to pings and probes, but still, my VPN Gateway is reachable. All help is highly appreciated
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.