VPN over SSH
Hi. This is my situation: I have a 10.8.2 machine behind an http/https proxy and a firewall so that the only open ports are 22, 80 and 443; at home there's a 10.6.8 server on which I can open every port I need. At work the connection is great (symmetric DSL 10 Mbit), while at home I've only 1 Mbit of upstream.
So, what I want to do is make the applications that don't support natively http proxy and so can't pass first through the proxy and then through the firewall, be tunneled at home. Just an example: iChat jabber won't connect at office so it would be great for me to tunnel only the packets from this app. Browsers, on the other hand, should work without being tunneled because faster.
What I already tryed is dynamic port forwarding and socks local proxy with ssh -D xxxx user@remotehost command but this don't allow me to tunnel selectively packets. I thought to a VPN, but every port I need is blocked, so, as far as I know the last possibility is VPN over SSH.
Two questions: VPN allow me to do the selective tunnel? And, could you please explain me how can I set it up?
iMac, OS X Mountain Lion (10.8.2), 3.06 GHz Intel Core 2 Duo