Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/productionwentdown/forward
🔧 A simple TCP proxy
https://github.com/productionwentdown/forward
golang proxy tcp
Last synced: about 2 months ago
JSON representation
🔧 A simple TCP proxy
- Host: GitHub
- URL: https://github.com/productionwentdown/forward
- Owner: productionwentdown
- License: mit
- Created: 2018-03-01T12:30:08.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-04T07:16:55.000Z (over 5 years ago)
- Last Synced: 2024-06-20T12:39:32.306Z (6 months ago)
- Topics: golang, proxy, tcp
- Language: Go
- Homepage:
- Size: 85 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# forward
A simple TCP proxy. Currently used in [AppVenture](https://appventure.nushigh.edu.sg/)'s internal server to port forward from host to a Hyper-V VM.
## Usage
```bash
$ ./forward -help
Usage of ./forward:
-connect string
forward to address
-listen string
listen on address (default ":8000")
-ssh string
if set, will do basic introspection to forward SSH traffic to this address
```### Usage with SSH
You can use `forward` to do multiplexing of SSH and HTTP in a quick and dirty way, using very simple protocol introspection. A more robust solution would be [sshttp](https://github.com/stealth/sshttp)
## Usage on Windows
`forward` is wrapped with [go-svc](https://github.com/judwhite/go-svc), enabling it to be run as a Windows service. To add with PowerShell:
```powershell
New-Service -BinaryPathName "C:\path\to\forward.exe -connect 192.168.0.10:80 -listen :80" -Name "port-forward-http"
```