There is VPS with OpenVPN and i2prouter on board. It is possible to send all traffic from local machine via VPN (using OpenVPN client). When VPN is off, I can forward localhost:4444 (for i2p proxy) to VPS via SSH and surf .i2p.
Desired situation: i2p proxy works when VPN is on and no SHH port forwarding. Any recommendations to do it?
I'm not familiar with VPN architecture, will thank for all answers.