firedoor forwards any TCP connection behind a firewall using techniques similar to reverse telneting. Written in Java 1.4, so it is very small and can run on both Linux and Win32 without modifications. Source file included.
0e1ab0a961683d87dd2a4dab9f692fd310b4aaf55c7537816f69d508ead51b21