Replies: 1 comment 10 replies
-
Let me check if I understand you correctly:
And you're asking how to tell the server's iroh endpoint about this load-balanced socket address? IIUC you have a load-balancer that binds a UDP socket. Traffic it receives is split between a number of backend servers and blindly forwarded to them. Probably based on client's ip + port? But what happens to the return traffic? Do you expect the backend servers to send directly from their own socket and you don't route those packets through the load-balancer? So clients would receive packets from a different ip + port than they send to? |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need to manually configure additional direct addresses for an iroh endpoint beyond what the automatic discovery mechanisms provide. My setup has a load balancer with dedicated ports for iroh endpoints that are not direct interfaces on the host but are direct addresses that other peers should use to connect.
Is there a way to manually add these load balancer addresses to an endpoint after creation, or should this be configured during the endpoint builder phase? Are there any considerations for how manually set addresses interact with the automatic discovery mechanisms?
The automatic address detection only sees the internal host interfaces, but I need peers to connect via the load balancer's external addresses and dedicated ports.
Beta Was this translation helpful? Give feedback.
All reactions