When I'm connected to my windows dedicated server and connect to a vpn server I would get disconnected from the dedicated server since its ip address would change. I found a way to overcome this by using
route add 220.127.116.11 192.168.0.1
Where 18.104.22.168 is the IP of my home PC, and 192.168.0.1 is the IP of the main gateway on the dedicated server.
I would like to switch to a Linux server but I want to make sure I can overcome this issue on Linux as well. What would be equivalent of route add 22.214.171.124 192.168.0.1 on Linux?