NetherPortalFix Mod (1.19.2, 1.18.12) allows you to travel back and forth between Nether Portals in Multiplayer.
Have you ever played on a multiplayer server that was built close to other players, and then, when you returned from the Nether, found yourself unexpectedly in another player’s base. This is due to the 8:1 block ratio of the Overworld and the Nether. It is quite strange that you can enter a portal in an overworld and then return to the place you came from. you will be able to exit through a different portal in this overworld. This mod solves that problem. This mod is only required to be installed on the server, but it also works in singleplayer.
It tracks which portals a player has been through to make sure that correct destinations are reached when the player goes back through the same portals. It’s actually quite difficult to explain this concept in text even though it is very simple. This is a compariton image:
Broken Mechanic (without mod)
Fixed Mechanic (with mod)