An arrangement and method in a Public Land Mobile Network (PLMN) for selecting a gateway to connect a User Equipment (UE) to a home PLMN when the UE is located in an access network connected to a visited PLMN. The arrangement receives a first Fully Qualified Domain Name (FQDN), which includes an identity of the UE user. Based on the identity of the user and knowledge of the visited PLMN, the arrangement selects whether the UE should establish a connection only to a gateway in the home PLMN, only to a gateway in the visited PLMN, or both. The arrangement transmits to the UE, an appropriate address for the home PLMN gateway, the visited PLMN gateway, or both depending on the selection.