Add listen address to proxy (C and python).

This allows forwarding from an external port to the same port on
localhost (loopback). I.e.

./utils/wsproxy `hostname -f`:5901 localhost:5901
This commit is contained in:
Joel Martin
2010-06-16 12:37:03 -05:00
parent f755ca9631
commit f2898eabd3
5 changed files with 83 additions and 27 deletions
+2 -2
View File
@@ -60,9 +60,9 @@ Usage
* run the python proxy:
`./utils/wsproxy.py [listen_port] [vnc_host] [vnc_port]`
`./utils/wsproxy.py source_port target_addr:target_port
`./utils/wsproxy.py 8787 localhost 5901`
`./utils/wsproxy.py 8787 localhost:5901`
* run the mini python web server to serve the directory: