Hello Kamilo,
For your internal Portal to be able to accessed from outside network, you need the Web Adaptor to be installed on a web server that is publicly accessible.
So if your web server is in DMZ and the https://webserver is accessible from the outside,
- Install the web adaptor on the web server (IIS)
- Configure it with the internal Portal.
- In the configuration page Portal URL https://internalPortalURL:7443
- Portal username and password.
In order for the above workflow to work, you need to make sure that the web server and the internal Portal machine can communicate over ports 7080, 7443.
After the configuration is done, when you try to access the Portal site but is getting redirected to the Internal URL rather than the web server URL, you can add web context URL following the steps in the documentation below:
Configure your portal to use a reverse proxy server—Portal for ArcGIS (10.6) | ArcGIS Enterprise
Do the following to change the WebContextURL:
- Open a web browser and sign in to the ArcGIS Portal Directory as a member of the default administrator role in your portal organization. The URL is formatted https://portal.domain.com:7443/arcgis/portaladmin.
- Click System > Properties > Update Properties.
- On the Update System Properties dialog box, insert the following JSON, substituting your own reverse proxy server or DNS alias URL as seen by users outside your organization's firewall.
- Click Update Properties.