Auto discovery of node in NAT network
-
Hi all,
I would like to know if it's possible to discover automatically a node, which is a vm in a NAT network and hold a netxms agent. This setup is installed on my local laptop.
From my local laptop I'm connected to a netxms-server through vpn. I'm able to connect to this node manually, by creating this node in the management console and adding a port forwarding rule to the preferences of my vm so the tcp request of the configuration poll is forwarded from my laptop to the vm
but I would like to know if it's possible to do it automatically like in "network discovery". -
This is really more a general support than a development question.
Your laptop cannot auto-discover devices behind a NAT. If it could, anyone on the internet could get into your network, too. If you are using port forwards, I'd suggest locking them down to only your NetXMS server.
Alternatively you can look at Agent Tunnels. In those setups, the Agent will establish a connection to the server as opposed to the server connecting to the client.
The server obviously must be reachable from the client. If both are behind a NAT you'll need to open a port somewhere. Opening the server side up means you only have to do it once to the server, not for every single agent behind a NAT. If you can lock that down for some additional security depends on your setup.There have been a lot of posts regarding Agent Tunnel setups over time, I recommend searching the forum (and for additional questions to create a post in the support, as opposed to the development one).
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login