Instead of each individual agent sending data directly to OMS and requiring a direct Internet connection, all agent data is instead sent through a single computer that has an Internet connection. That computer is where you install and use the gateway. In this scenario, you can install agents on any computers where you want to collect data. The gateway then transfers data from the agents to OMS directly.
Here you can start with downloading the software for Microsoft OMS Gateway
I used the default port 8080 for the Gateway.
Now Microsoft Operations Management Suite Gateway is installed, you can use some Microsoft Powershell Commands :
After the installation of the OMS Gateway, I installed the OMS Agent :
Download your OMS Agent here
Copy => Paste your OMS Workspace ID and Key.
Here you can see the OMS Agent Connection settings.
When you wait for a few minutes you will see the connection in the Portal of OMS.
After this I installed the OMS Agent on One of my Domain Controllers with OMS Gateway settings //HyperV2016.hybridcloud4you.nl:8080.
This is what you will see in the Event Viewer of the OMS Gateway Server :
Domain Controller 192.168.2.100 is going via the OMS Gateway
OMS Agent via the Microsoft OMS Gateway
From here you can start with your OMS Solutions 😉
It is also possible to connect your System Center Operations Manager (SCOM) on-premises to the OMS Gateway.
Then you don’t have to connect your SCOM Management Server directly to the internet to OMS.