Update README.md
parent
a70bede555
commit
2885b939fa
11
README.md
11
README.md
|
@ -1,11 +1,11 @@
|
||||||
|
|
||||||
# forward
|
# forward
|
||||||
|
|
||||||
A simple TCP proxy.
|
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
|
## Usage
|
||||||
|
|
||||||
```
|
```bash
|
||||||
$ ./forward -help
|
$ ./forward -help
|
||||||
Usage of ./forward:
|
Usage of ./forward:
|
||||||
-connect string
|
-connect string
|
||||||
|
@ -14,3 +14,10 @@ Usage of ./forward:
|
||||||
listen on ip and port (default ":8081")
|
listen on ip and port (default ":8081")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 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"
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue