1
0
Fork 0
Go to file
Ambrose Chua bb031be2f1
continuous-integration/drone/push Build is passing Details
Move when out and fix root of problem
2018-12-01 14:55:40 +08:00
vendor Vendor sys, fix drone again 2018-03-26 21:51:56 +08:00
.drone.yml Move when out and fix root of problem 2018-12-01 14:55:40 +08:00
.gitignore Initial commit 2018-03-01 20:24:15 +08:00
LICENSE Create LICENSE 2018-09-26 22:35:29 +08:00
README.md Update README.md 2018-03-28 21:47:34 +08:00
go.mod Support Windows service with go-svc 2018-03-26 19:48:14 +08:00
main.go Support Windows service with go-svc 2018-03-26 19:48:14 +08:00
server.go Support Windows service with go-svc 2018-03-26 19:48:14 +08:00

README.md

forward

A simple TCP proxy. Currently used in AppVenture's internal server to port forward from host to a Hyper-V VM.

Usage

$ ./forward -help
Usage of ./forward:
  -connect string
    	forward to ip and port (default ":8080")
  -listen string
    	listen on ip and port (default ":8081")

Usage on Windows

forward is wrapped with go-svc, enabling it to be run as a Windows service. To add with PowerShell:

New-Service -BinaryPathName "C:\path\to\forward.exe -connect 192.168.0.10:80 -listen :80" -Name "port-forward-http"