I want to make a connection to a remote server through a local server and share the connection on my local network using an OpenVPN or an ssh tunnel.
The reason I cannot directly connect to the remote server (for example using OpenVPN on the router) is that I don't want all the traffic to go through the remote server (the internet would be faster it doesn't).
Now I want to give users the possibility to use the services that the remote server offers (like filesharing). I know when I do this using OpenVPN, I can contact all ports, but I don't want all the traffic to go over that line.