No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ambrose Chua bb031be2f1
Move when out and fix root of problem
2 months ago
vendor Vendor sys, fix drone again 10 months ago
.drone.yml Move when out and fix root of problem 2 months ago
.gitignore Initial commit 11 months ago
LICENSE Create LICENSE 4 months ago
README.md Update README.md 10 months ago
go.mod Support Windows service with go-svc 10 months ago
main.go Support Windows service with go-svc 10 months ago
server.go Support Windows service with go-svc 10 months ago

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"