Skip to content

Simple TCP/UDP flow forwarder implemented in Go

Notifications You must be signed in to change notification settings

DeepAQ/GoForward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

GoForward

Simple TCP/UDP flow forwarder implemented in Go.

Usage

GoForward URL [URL...]

URL Format

protocol://remoteAddress:port@[localAddress]:port[/?parameters]
  • protocol: tcp or udp or pprof
  • remoteAddress / localAddress: IPv4 or IPv6 or hostname
    • pprof protocol only needs local address and port
  • parameters:
    • timeout (UDP only): I/O timeout for new connections, default 10s
    • streamTimeout (UDP only): I/O timeout for assured connections, default 3m

Example

GoForward \
  "tcp://httpbin.org:80@:8080" \
  "udp://1.1.1.1:53@:53/?timeout=5s&streamTimeout=5m"

About

Simple TCP/UDP flow forwarder implemented in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages