Yet Another Reverse Proxy
A simple and easy-to-use reverse proxy that supports TCP, UDP, HTTP and HTTPS
./yarp -c {configFile}
default config file path is ./yarp.toml
[http]
bindAddr = "[::]:80"
[[http.rules]]
host = "example.com"
target = "127.0.0.1:81"
[[http.rules]]
host = "another.example.com"
target = "[fe80::88ef:c4ff:fe92:fa48]:81"
[[http.rules]]
host = "*.foo.bar"
target = "127.0.0.1:80"
[[http.rules]]
host = "yarp.example.com"
target = "127.0.0.1:8080"
[https]
bindAddr = "0.0.0.0:443"
[[https.rules]]
host = "example.com"
target = "127.0.0.1:444"
[[tcp]]
bindAddr = "[::]:4396"
target = "192.168.1.7:9527"
[[udp]]
bindAddr = "[::]:6666"
target = "192.168.1.7:6666"open http://127.0.0.1:8080 to get a simple dashboard