[servers]
[servers.default]
protocol = "tcp"
bind = "0.0.0.0:443"
[servers.default.discovery]
kind = "static"
static_list = [
"192.168.198.10:8060 sni=sx10.mydomain.tld",
"192.168.198.11:443 sni=es011.mydomain.tld",
"192.168.198.17:1880 sni=nodered.mydomain.tld",
"192.168.198.17:18084 sni=emqx.mydomain.tld",
"192.168.198.28:443 sni=se8000.mydomain.tld",
"192.168.198.85:443 sni=as085.mydomain.tld",
"192.168.198.86:443 sni=as086.mydomain.tld",
"192.168.198.87:443 sni=as087.mydomain.tld",
"192.168.198.88:443 sni=j8000.mydomain.tld"
]
[servers.default2]
protocol = "tcp"
bind = "0.0.0.0:80"
[servers.default2.discovery]
kind = "static"
static_list = [
"192.168.198.79:80 sni=basrtp.mydomain.tld",
"192.168.198.88:80 sni=mpm088.mydomain.tld"
]
iphash
and iphash1
? My basic understanding is that iphash
tries to route all requests from a specific client IP to the same backend. The docs say iphash1
is "same as iphash but backend removal consistent (clients remain connecting to the same backend, even if some other backends down)"
. Why should iphash
worry about other backends going down, as long as the backend mapped to the client IP is up, it can keep connecting to the same backend, can't it?
Why should iphash worry about other backends going down, as long as the backend mapped to the client IP is up
There's no mapping, that's why ;)
Hi guys, first thanks for your fantastic work, I'm actually using your LB to forward system log to elasticsearch. I've seen there was a question about keeping the source IP.
Sure, right now we have a syslog stream which is forwarded by two nginx nodes to two logstash nodes. If we dont have the nginx option mentioned before, elastic will think that the syslog is commin from the nginx node. By issuing the option above it keeps the source IP when its forwarded and lets elastic find out the real source IP of the syslog
Hi all. I'm trying to set up a reverse proxy udp load balancer for syslog. I've found the following documentation.
transparent = false # (optional) [NOTE: does not work for Windows] if true - work in transparent mode, when forwarded udp packets have client source address (requires additional host configuration) (since 0.8.0)
Would anyone know where the "additional host configuration" documentation would be?
v0.8.0 released: https://github.com/yyyar/gobetween/releases/tag/0.8.0
Just want to remind for those who have questions, maintainers are more active in telegram channel: https://t.me/joinchat/GdlUlg_gRfchk1BORU82PA sorry for being unresponsive sometimes.
does gobetween support session affinity ? I am thinking to implement gobetween to LB my Spotfire Servers.
my requirements are like below.
If you choose to use a load balancer, it must support session affinity; this means that after a session has been established, the load balancer continues to route all requests from a particular client to a particular server. To be able to analyze streaming data in web clients, the load balancer must support WebSockets from the web client to the Spotfire Servers.