gobetween icon indicating copy to clipboard operation
gobetween copied to clipboard

Configuration for request forwarding

Open xUrko opened this issue 5 years ago • 1 comments

Is it possible to configure GoBetween to just forward incoming TCP requests to the static server list?

e.g. If a user enters localhost:3000, the user forwarded to localhost:999 or localhost:777.

My current config file:

[servers.sample] protocol = "tcp" bind = "localhost:3000" balance = "roundrobin"

[servers.sample.discovery] kind = "static" static_list = [ "localhost:999", "localhost:777" ]

BR, Uroš

xUrko avatar Jun 15 '20 20:06 xUrko

Not sure what do you mean under "just forward" and "TCP requests", but yes this is what should happen, go-between will proxy TCP connection data to the server selected by the balance method

yyyar avatar Jun 17 '20 06:06 yyyar