Hi,
My Kamailio installation originates TLS connections using source port 5061.
Is there a way to teach it not to do that? Seting tcp_reuse_port=no doesn't have any effect.
Hello,
this is the port kamailio is usually configured to use for TLS. What is your expectation which port it should use?
Cheers,
Henning
On 02.03.22 19:35, Henning Westerholt wrote:
this is the port kamailio is usually configured to use for TLS. What is your expectation which port it should use?
I'm talking about the source port, not the destination.
My expectation is for Kamailio to use a random kernel-assigned source port, just like everybody else who opens a TCP connection.
How do you expect two Kamailio processes to talk to each other if they both decide to connect to the other side simultaneously? This works with "normal" TCP, by design, but AFAIK the TLS layer has a strict client/server separation and thus can't do that.