So I have one VPS (based on openvz) with VPN (openvpn) up and running. I'm connecting to this setup with laptop (archlinux) and everything seems to be working. Let's say that vps's ip is 192.0.2.4. I can connect to it and see 192.0.2.4 as my ip when I ask some other server. So traffic is going through vpn.
However, I'm still accessing mail and ssh via direct connection and not via vpn. I think I know why that is (default route to the 192.0.2.4 to prevent loops in routing etc.) and in most use-cases this would be good enough. But not for me. One of the reasons for vpn is to circumvent port blocking in my workplace (cannot send mails via 587). And I cannot do it like this.
So, how to redirect traffic even to the 192.0.2.4 via the vpn? I was thinking about routing everything to the 192.0.2.4 which is not on port X (my vpn port) but not sure how to do this or if it's even possible.