PortProxy: Difference between revisions
Jump to navigation
Jump to search
(New page: [[Image:PortProxy.png|frame|right|PortProxy 95 -- the Windows 95 version -- running in the system tray using [http://en.wikipedia.org/wiki/Wine_%28software%29 Wine] on [http://www.opensuse...) |
No edit summary |
||
Line 1: | Line 1: | ||
[[Image:PortProxy.png|frame|right|PortProxy 95 -- the Windows 95 version -- running in the system tray using [http://en.wikipedia.org/wiki/Wine_%28software%29 Wine] on [http://www.opensuse.org/ Novell openSUSE 10.2]. PortProxy is the icon closest to the right, next to the clock]] PortProxy is a [http://en.wikipedia.org/wiki/Transmission_Control_Protocol TCP] connection forwarding [http://en.wikipedia.org/wiki/Windows_service service] that I wrote in college so that I could run servers from behind a firewall. When I put Linux onto resnet.bryant.edu, I no longer needed this program, but it's still cool if you are running [http://en.wikipedia.org/wiki/Microsoft_Windows Windows]. I also wrote a version that runs as a [http://en.wikipedia.org/wiki/System_tray system tray] application in [http://en.wikipedia.org/wiki/Windows_95 Windows 95]. | [[Image:PortProxy.png|frame|right|PortProxy 95 -- the Windows 95 version -- running in the system tray using [http://en.wikipedia.org/wiki/Wine_%28software%29 Wine] on [http://www.opensuse.org/ Novell openSUSE 10.2]. PortProxy is the icon closest to the right, next to the clock]] PortProxy is a [http://en.wikipedia.org/wiki/Transmission_Control_Protocol TCP] connection forwarding [http://en.wikipedia.org/wiki/Windows_service service] that I wrote in college so that I could run servers from behind a firewall. When I put Linux onto resnet.bryant.edu, I no longer needed this program, but it's still cool if you are running [http://en.wikipedia.org/wiki/Microsoft_Windows Windows]. I also wrote a version that runs as a [http://en.wikipedia.org/wiki/System_tray system tray] application in [http://en.wikipedia.org/wiki/Windows_95 Windows 95]. | ||
==Download== | |||
*'''[https://www.moonlightdesign.org/steve/programs/portproxy.zip Download PortProxy NT, PortProxy 95, and the source code]''' | |||
==Configuration== | ==Configuration== | ||
PortProxy stores its configuration in the <code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PortProxy\Parameters</code> [http://en.wikipedia.org/wiki/Windows_Registry registry] key. It can be dynamically configured using a command line interface via a localhost [http://en.wikipedia.org/wiki/Telnet telnet] connection to port 256. | PortProxy stores its configuration in the <code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PortProxy\Parameters</code> [http://en.wikipedia.org/wiki/Windows_Registry registry] key. It can be dynamically configured using a command line interface via a localhost [http://en.wikipedia.org/wiki/Telnet telnet] connection to port 256. | ||
== | When connected to the configuration command line interface, the following commands can be used: | ||
* | {|class="sortable" border="1" | ||
!Command | |||
!Parameters | |||
!Meaning | |||
|- | |||
| + | |||
|port intaddr intport 6 | |||
|Adds a forwarded port | |||
*port: The local port that you want PortProxy to listen on | |||
*intaddr: The internal IPv4 address that you want PortProxy to connect to when new connections on the local listening port are established | |||
*intport: The port number on the internal address that you want PortProxy to connect to when new connections on the local listening port are established | |||
*6: This is the internet protocol type. The number six is the constant for TCP. UDP is not supported | |||
|- | |||
| - | |||
|port | |||
|Removes a forwarded port | |||
*port: The local port to remove that PortProxy is listening on | |||
|- | |||
|s | |||
|port | |||
|Returns whether or not the given local port is being forwarded by PortProxy | |||
*port: The local port to examine | |||
|- | |||
|t | |||
|port | |||
|Tests a local port for use by PortProxy or another application | |||
*port: The local port to examine | |||
|- | |||
|x | |||
| | |||
|Closes PortProxy | |||
|- | |||
|n | |||
| | |||
|No operation ([http://en.wikipedia.org/wiki/No-op no-op]) | |||
|} |
Revision as of 04:00, 15 October 2007
PortProxy is a TCP connection forwarding service that I wrote in college so that I could run servers from behind a firewall. When I put Linux onto resnet.bryant.edu, I no longer needed this program, but it's still cool if you are running Windows. I also wrote a version that runs as a system tray application in Windows 95.
Download
Configuration
PortProxy stores its configuration in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PortProxy\Parameters
registry key. It can be dynamically configured using a command line interface via a localhost telnet connection to port 256.
When connected to the configuration command line interface, the following commands can be used:
Command | Parameters | Meaning |
---|---|---|
+ | port intaddr intport 6 | Adds a forwarded port
|
- | port | Removes a forwarded port
|
s | port | Returns whether or not the given local port is being forwarded by PortProxy
|
t | port | Tests a local port for use by PortProxy or another application
|
x | Closes PortProxy | |
n | No operation (no-op) |