UDP returning on wrong IP Address

Hi All,
I have numerous public IP addresses. As such, I have set my Jitsi on a particular Public IP (not my main public IP). Everything works great when all users are on the same LAN. However, all external users could connect, but then were kicked out.
Tracing the packets on the Router, I noticed that UDP 10,000 was going out to the public on IP XXX.XXX.XXX.123 but was coming back in on XXX.XXX.XXX.122.

Basically, just the UDP Packets only on port 10,000 where coming back to my router on the primary public IP even though all outgoing and the other incoming traffic was on the correct secondary IP.

Any ideas as to what is causing the packets to be split across the IP’s?

Again, this is only for the 10,000 UDP traffic.


JVB on startup uses a stun request to discover its public ip address and use that address in signalling to jicofo which is send to client to use it to send media to.
So that discovered a wrong public address or the routing changed after it was found … You can control the address to use manually by setting it, check advanced section of https://jitsi.org/qi.