<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Server and agents are separated by NAT]]></title><description><![CDATA[<p dir="auto">Good afternoon, members of the forum.</p>
<p dir="auto">Perhaps the question will seem simple, but by virtue of the “patchiness” of knowledge on NetXMS, it has turned into a difficult task.<br />
There are 2 local networks in different offices (office 1 and office 2). Both are behind NAT. Both have access to the Internet. Network addresses: 192.168.0.x (office 1) and 192.168.1.x (office 2).<br />
NetXMS Server is installed on the 192.168.0.x network, 10 NetXMS agents are installed on the 192.168.1.x network. Office 1 (where the server is installed) has a static IP address. In office 2<br />
(where agents are installed) - no static address. On the router in office 1, port 4700 (DNAT) was forwarded to the internal address of the NetXMS server.<br />
How to configure NetXMS agents in office 2 so that they can transfer data to the NetXMS server in office 1?<br />
Do you need any changes to the default server settings?<br />
Can someone find a walkthrough?<br />
Thank you in advance.</p>
<p dir="auto"> <strong>Here is the agent configuration (in office 2):</strong><br />
MasterServers = x.x.x.x (External IP address of office 1)<br />
ConfigIncludeDir = <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title="C:" alt="😄" /> \ NetXMS \ etc \ nxagentd.conf.d<br />
LogFile = {syslog}<br />
FileStore = <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title="C:" alt="😄" /> \ NetXMS \ var<br />
SubAgent = filemgr.nsm<br />
SubAgent = ping.nsm<br />
SubAgent = logwatch.nsm<br />
SubAgent = portcheck.nsm<br />
SubAgent = winperf.nsm<br />
SubAgent = wmi.nsm<br />
SubAgent = ups.nsm</p>
<p dir="auto"> <strong>Here is the server configuration (in office 1):</strong><br />
Name Value Default value Restart<br />
XMPPServer localhost localhost Yes<br />
XMPPPort 5222 5222 Yes<br />
XMPPPassword netxms netxms Yes<br />
XMPPLogin netxms @ localhost netxms @ localhost Yes<br />
UseSyslogForDiscovery 1 0 Yes<br />
UseSNMPTrapsForDiscovery 1 0 Yes<br />
UseInterfaceAliases Don't use aliases Don't use aliases No<br />
UseIfXTable 1 1 No<br />
UseFQDNForNodeNames 1 1 Yes<br />
UseDNSNameForDiscoveredNodes 0 0 No<br />
TrapSourcesInAllZones 0 0 Yes<br />
TopologyPollingInterval 1800 1800 Yes<br />
TopologyExpirationTime 900 900 No<br />
TopologyDiscoveryRadius 3 3 No<br />
TileServerURL <a href="http://tile.openstreetmap.org/" rel="nofollow ugc">http://tile.openstreetmap.org/</a> <a href="http://tile.openstreetmap.org/" rel="nofollow ugc">http://tile.openstreetmap.org/</a> No<br />
ThresholdRepeatInterval 0 0 Yes<br />
ThreadPool.Syncer.MaxSize 1 1 Yes<br />
ThreadPool.Syncer.BaseSize 1 1 Yes<br />
ThreadPool.Scheduler.MaxSize 64 64 Yes<br />
ThreadPool.Scheduler.BaseSize 1 1 Yes<br />
ThreadPool.Poller.MaxSize 250 250 Yes<br />
ThreadPool.Poller.BaseSize 10 10 Yes<br />
ThreadPool.Main.MaxSize 256 256 Yes<br />
ThreadPool.Main.BaseSize 8 8 Yes<br />
ThreadPool.DataCollector.MaxSize 250 250 Yes<br />
ThreadPool.DataCollector.BaseSize 10 10 Yes<br />
ThreadPool.Agent.MaxSize 256 256 Yes<br />
ThreadPool.Agent.BaseSize 4 4 ​​Yes<br />
SyslogRetentionTime 90 90 No<br />
SyslogNodeMatchingPolicy IP, then hostname IP, then hostname Yes<br />
SyslogListenPort 514 514 Yes<br />
SyslogIgnoreMessageTimestamp 0 0 No<br />
SyncNodeNamesWithDNS 0 0 No<br />
SyncInterval 60 60 Yes<br />
StrictAlarmStatusFlow 0 0 No<br />
StatusTranslation 1020304 1020304 Yes<br />
StatusThresholds 503C2814 503C2814 Yes<br />
StatusSingleThreshold 75 75 Yes<br />
StatusShift 0 0 Yes<br />
StatusPropagationAlgorithm Unchanged Unchanged Yes<br />
StatusPollingInterval 60 60 Yes<br />
StatusCalculationAlgorithm 1 1 Yes<br />
SNMPTrapPort 162 162 Yes<br />
SNMPTrapLogRetentionTime 90 90 No<br />
SNMPRequestTimeout 1500 1500 Yes<br />
SNMPPorts 161 161 No<br />
SMTPServer localhost localhost No<br />
SMTPRetryCount 10 1 No<br />
SMTPPort 2525 25 No<br />
SMTPFromName NetXMS Server NetXMS Server No<br />
SMTPFromAddr netxms @ localhost netxms @ localhost No<br />
SMSDrvConfig COM1: Yes<br />
SMSDriver &lt;none&gt; &lt;none&gt; Yes<br />
ServerName No<br />
ServerCommandOutputTimeout 60 60 No<br />
ServerColor No<br />
RunNetworkDiscovery 0 0 Yes<br />
RoutingTableUpdateInterval 300 300 Yes<br />
ResolveNodeNames 1 1 No<br />
ResolveDNSToIPOnStatusPoll 0 0 Yes<br />
ReportingServerPort 4710 4710 Yes<br />
ReportingServerHostname localhost localhost Yes<br />
ReceiveForwardedEvents 0 0 No<br />
RADIUSTimeout 3 3 No<br />
RADIUSServer none none<br />
RADIUSSecret netxms netxms No<br />
RADIUSSecondaryServer none none<br />
RADIUSSecondarySecret netxms netxms No<br />
RADIUSSecondaryPort 1645 1645 No<br />
RADIUSPort 1645 1645 No<br />
RADIUSNumRetries 5 5 No<br />
RADIUSAuthMethod PAP PAP No<br />
PollCountForStatusChange 1 1 Yes<br />
PasswordHistoryLength 0 0 No<br />
PasswordExpiration 0 0 No<br />
PasswordComplexity 0 0 No<br />
OfflineDataRelevanceTime 86400 86400 Yes<br />
NXSL.EnableFileIOFunctions 0 0 Yes<br />
NXSL.EnableContainerFunctions 1 1 Yes<br />
NumberOfUpgradeThreads 10 10 No<br />
MobileDeviceListenerPort 4747 4747 Yes<br />
MinViewRefreshInterval 1000 1000 No<br />
MinPasswordLength 0 0 No<br />
MessageOfTheDay No<br />
MailEncoding utf8 utf8 No<br />
LongRunningQueryThreshold 0 0 Yes<br />
LogAllSNMPTraps 0 0 Yes<br />
LockTimeout 60000 60000 Yes<br />
LdapUserUniqueId No<br />
LdapUserMappingName No<br />
LdapUserDeleteAction Disable user Disable user No<br />
LdapUserClass No<br />
LdapSyncUserPassword No<br />
LdapSyncUser No<br />
LdapSyncInterval 0 0 No<br />
LdapSearchFilter No<br />
LdapSearchBase No<br />
LdapPageSize 1000 1000 No<br />
LdapMappingFullName displayName displayName No<br />
LdapMappingDescription No<br />
LdapGroupUniqueId No<br />
LdapGroupMappingName No<br />
LdapGroupClass No<br />
LdapConnectionString ldap: // localhost: 389 ldap: // localhost: 389 No<br />
KeepAliveInterval 60 60 Yes<br />
JobRetryCount 5 5 No<br />
JobHistoryRetentionTime 90 90 No<br />
JiraServerURL http: // localhost http: // localhost Yes<br />
JiraProjectComponent No<br />
JiraProjectCode NETXMS NETXMS No<br />
JiraPassword Yes<br />
JiraLogin netxms netxms Yes<br />
JiraIssueType Task Task No<br />
IntruderLockoutTime 30 30 No<br />
IntruderLockoutThreshold 0 0 No<br />
InternalCA 0 0 Y</p>
]]></description><link>https://forum.netxms.org/topic/5822/server-and-agents-are-separated-by-nat</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:58:41 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5822.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 Feb 2019 08:29:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Server and agents are separated by NAT on Fri, 08 Feb 2019 03:44:09 GMT]]></title><description><![CDATA[<p dir="auto">Using Agent Tunnels, you can have all the NetXMS Agents talk directly to the server via tunnel - they agents themselves no longer need to be polled via a proxy.<br />
However, you will still need to use one of the agents as proxy for any SNMP devices you wish to monitor in that remote network.</p>
]]></description><link>https://forum.netxms.org/post/25331</link><guid isPermaLink="true">https://forum.netxms.org/post/25331</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Fri, 08 Feb 2019 03:44:09 GMT</pubDate></item><item><title><![CDATA[Reply to Server and agents are separated by NAT on Mon, 04 Feb 2019 07:59:13 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<blockquote>
<p dir="auto">looks like in your setup you need agents connecting to server.</p>
</blockquote>
<p dir="auto">Yes, thats correct.</p>
<blockquote>
<p dir="auto">In NetXMS default configuration is when server connects to agents. Reverse configuration called "agent tunnel".</p>
</blockquote>
<p dir="auto">Thanks, for clarifications.<br />
So, as I understand, I need (in my case):</p>
<ol>
<li>Install one agent in office 2 as "Proxy Agent" (<a href="https://www.netxms.org/documentation/adminguide/agent-management.html#agent-proxy-node-configuration" rel="nofollow ugc">https://www.netxms.org/documentation/adminguide/agent-management.html#agent-proxy-node-configuration</a>)</li>
<li>Сonfigure server for accepting connections (from Proxy Agent): <a href="https://www.netxms.org/documentation/adminguide/server-management.html#server-configuration-for-agent-to-server-connection-tunnel-connection" rel="nofollow ugc">https://www.netxms.org/documentation/adminguide/server-management.html#server-configuration-for-agent-to-server-connection-tunnel-connection</a>.</li>
<li>Configure other agents in office 2 to work through Proxy Agent.</li>
</ol>
<p dir="auto">Correct?<br />
Thanks <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.netxms.org/post/25301</link><guid isPermaLink="true">https://forum.netxms.org/post/25301</guid><dc:creator><![CDATA[fINT]]></dc:creator><pubDate>Mon, 04 Feb 2019 07:59:13 GMT</pubDate></item><item><title><![CDATA[Reply to Server and agents are separated by NAT on Sat, 02 Feb 2019 12:13:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">looks like in your setup you need agents connecting to server. In NetXMS default configuration is when server connects to agents. Reverse configuration called "agent tunnel". You have to configure server for accepting connections from agents: <a href="https://www.netxms.org/documentation/adminguide/server-management.html#server-configuration-for-agent-to-server-connection-tunnel-connection" rel="nofollow ugc">https://www.netxms.org/documentation/adminguide/server-management.html#server-configuration-for-agent-to-server-connection-tunnel-connection</a>.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/25297</link><guid isPermaLink="true">https://forum.netxms.org/post/25297</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 02 Feb 2019 12:13:12 GMT</pubDate></item></channel></rss>