proxy

Reference http://freshmeat.net/projects/proxy

Proxy was written and is maintained by Sonny Parlin.

Linux install (Creates a single executable)

  1. Download the file proxy-2.2.4.tar.gz
  2. Unpack the file: tar xvzf proxy-2.2.4.tar.gz
  3. Compile the source: make
  4. Copy the file proxy to wherever you want
  5. Start proxy: sudo proxy -s 60000 -d 22 -D 1.2.3.4 -S 5.6.7.8

Proxy will start and listen on port 60000. Any packets from 5.6.7.8 will be forwarded to port 22 on 1.2.3.4

Example usage:

You (host A) have a webcam and you want your neighbor (host B) to view your webcam

Your ISP has their routers configured with port-isolation not unlike that used in public wireless access terminals.

Because you and your neighbor have the same ISP and are connected to the same router on your ISP's internal LAN, all packets originating from you and destined for your neighbor's IP address are blocked. This is a rare but never-the-less possible situation.

You have access to a host connected to a different router or a completely different ISP (host C).

Here is a way to bounce packets from Host A to Host B and back using Host C as a proxy.

Start proxy on host C and make sure C's firewall and router are properly configured to cooperate.

sudo proxy -s 60000 -d 80 -D [IP_of_host_A] -S [IP_of_host_B]

Your neighbor points her browser to http://[IP_of_host_C]:60000 and can now view your web cam

Because you used the optional -S parameter when invoking proxy, only your neighbor can view your webcam using the proxy. This will usually not be a problem because anyone else on the internet can view your web cam directly. If you have two neighbors, simply invoke another instance of proxy using a different unprivileged port i.e. 60001, or don't include the -S parameter in the original invocation.

An alternate solution would be to use an anonymizer such as jondofox for Firefox, but because of the chain of intermediate servers and all the encryptions, real time viewing of web cams will be less than optimum.


Send mail to the Webmaster

logo This site best viewed with a browser
Warning: This is a Debian centric site and MAY contain peanuts.
Many thanks to Debra Lynn and Ian Murdock for making Debian possible
First created Apr 22, 2008 ~ Last revised January 15, 2010

Valid XHTML 1.0 Strict Valid CSS!