How do I make a 2D online game with private rooms?

Godot Version

4.5.1.stable

Question

I’ve made multiple online games with an online server, but how do I make one where you can make or host a private room?

Help appreciated.

Thanks!