Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 501 Bytes

README.rst

File metadata and controls

22 lines (13 loc) · 501 Bytes

FRWD

"frwd" is a tiny TCP/IP port-forwarder written in Go.

Useful when you want to forward a service but don't have root access or can't bother with iptables.

Install:

go install github.com/avahidi/frwd@latest

Usage:

# forward TCP 0.0.0.0:8080 <--> 127.0.0.1:80
frwd :8080 127.0.0.1:80

# one-way forward UDP localhost:5300 -> 8.8.8.8:53
frwd -u localhost:5300 8.8.8.8:53

# forward TCP with regex filtering of source
frwd -filter example.com :8080 127.0.0.1:80