can you count the letter h in:
q: vpn connection over ssh im behind a firewall which only allow ports 80 and 443 out.
i have an ubuntu server at home which got an ssh server running on 443 and it works fine. therefore i can tunnel my traffic behind this firewall through ssh.
however, i want to make an vpn connection between the computer behind the firewall and the server via ssh, to make all internet connections go through the tunnel without being needed to configure a proxy on every application i need to tunnel.
the computer behind the firewall uses windows xp.
is this possible?

a: yes, piece of cake!
your windowsxp box would need to become the default route for all your other computers.  i do this often using a similar technique to tunnel traffic through an http proxy firewall.
couple things you need to do:


*

*on your ubuntu server, locate the sshd.conf file and enable, if not already
gatewayports yes  

*install putty on your winxp computer and configure a connection from winxp to your ubuntu server and under the tunnels section, create some tunnel entries making sure to check the box local ports accept connections from other hosts, then use some random unprivledged ports.  you should have a list like so:
l5000  1.2.3.4:443  where 5000 is the local port you listen on and 1.2.3.4 is your ubuntu server.


*now you need to enable routing and remote access service under the services (right click my computer, manage & navigate to services section).  once enabled, need to edit the following regkey:
hkey_local_machine > system > currentcontrolset > services > tcpip > parameters and look for something like “ipenablerouter”. double click on it and turn the value from 0 to 1 and reboot your computer.

*after the reboot, pop open a command prompt and type some commands:  
netsh routing ip nat install
netsh routing ip nat add interface if-public full  (where if-public is the interface used to connect to ubuntu server)
netsh routing ip nat add interface if-private private
it should be obvious that your winxp machine cannot be using dhcp; youll need static ip assignments here.

a: this might not exactly answer the question, but you can also create a dynamic ssh tunnel in the connecction -> ssh -> tunnels config screen on putty. this creates a socks proxy on the port you specify which if you alter the windows internet connection settings to use then any app that obeys those will use the proxy.

user
In the text, there are eighty-two "h"s.
assistant