What I would like to do is route all traffic via a VPN connection, even that which is destined for my vps (except of course the actual vpn connection). How can I do this.

My setup:
Netbook (Ubuntu 10,04)
connects via a WLAN to
VPS (Ubuntu 10.04 via a PPTP VPN)
and then onto the rest of the internet.

Browsing (either http or https) to any other site works fine. However trying to connect to my vps (using http or https) results in connection timed out - the WLAN firewalls ports 80 and 443 to force use of a proxy.

Is there a way to do this (ie all traffic except the PPTP connection goes through the PPTP connection) by tweaking the config at one end or the other, or do I have to essentially have an IP address dedicated to the VPN?

--
Robert Gauld
http://www.robertgauld.co.uk