I have ipsec tunnel from my private ip to a public IP server in the remote server. vpn is up but the route command telling the OS to send the data to the remote public IP via the ipsec tunnel is ignored, always uses my public IP.
Budget: $10 – $30 USD
There is an ipsec tunnel from my server privete IP to a server on the other side of the tunnel that has a public ip. The tunnel is up but whenever I try to reach the remote server, the data always tries to use my public IP instead of going through the private IP of the tunnel. I entered the “route” command for a static route but the system ignores it. This issue was fixed by a freelancer sometime ago but when we restarted the server the issue came back, I guess because the changes were not saved to a file and only done on the cmd line. I understand this is a routing issue but I don’t know how to fix it.