Simple TCP/UDP flow forwarder implemented in Go.
GoForward URL [URL...]
protocol://remoteAddress:port@[localAddress]:port[/?parameters]
- protocol:
tcporudporpprof - remoteAddress / localAddress: IPv4 or IPv6 or hostname
pprofprotocol only needs local address and port
- parameters:
timeout(UDP only): I/O timeout for new connections, default10sstreamTimeout(UDP only): I/O timeout for assured connections, default3m
GoForward \
"tcp://httpbin.org:80@:8080" \
"udp://1.1.1.1:53@:53/?timeout=5s&streamTimeout=5m"