Simple TCP/UDP flow forwarder implemented in Go.
GoForward URL [URL...]
protocol://remoteAddress:port@[localAddress]:port[/?parameters]
- protocol:
tcp
orudp
orpprof
- 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, default10s
streamTimeout
(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"