The problem is not the route from the client to the VPN service. The server I want to connect to is a third party vpn service and the client is my server.
I need to be able to connect my server to the vpn service whilst still be able to access my server (the client) via ssh.
ok,let me rephrase..
you can always add a static route to your VPN client for the ssh client's ip you want to connect from...
The problem is the VPN service masks my public address with their own IP and if I was to use their IP address to SSH I would just hit their servers as they have no through route for my server on port 22.
your "provider" sends you a different default gateway causing all traffic flowing via tunnel.
if you add a STATIC route for the public ip you want to initiate your ssh session TO your server (openvpn client)
then traffic to this ip will BYPASS the vpn.
am i clear? 8-)
the problem is if you dont have a static ip for your ssh client.
Michael.