---
title: Prerequisites for the Nodinite File and FTP Monitoring Agent – Requirements & Setup
description: Review all prerequisites for installing and running the Nodinite File and FTP Monitoring Agent. Learn about software requirements, user rights, firewall settings, and network configuration to ensure secure, reliable file-based integration monitoring.
---

# <i class="fal fa-square-plus" aria-hidden="true"></i> Prerequisites for the File and FTP Monitoring Agent

Prepare your environment for seamless, secure file-based integration monitoring with <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>. This page details all prerequisites for installing and running the File and FTP [Monitoring Agent][Monitoring Agents], including software, user rights, firewall, and network configuration.

✅ Clear software and OS requirements  
✅ Step-by-step user rights and firewall setup  
✅ PowerShell scripts for fast configuration  
✅ Network and security best practices  

>This page describes the prerequisites to successfully install and run the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [File Monitoring Agent][File Monitoring Agent] to achieve **MFT Monitoring**.

<div class="mermaid">
graph LR
    subgraph "Nodinite Instance"
        roNI(fa:fa-folder File and FTP Monitoring agent) --- roMonitor[fa:fa-monitor-waveform Monitoring]
    end
    subgraph "Windows/Linux"
        roMonitor --- roSMB(fa:fa-folders Folders - SMB)
        roMonitor --- roNFS(fa:fa-folders Folders - NFS)
    end
    subgraph "SFTP"
        roMonitor --- roSFTP(fa:fa-file-certificate Folders)
    end
    subgraph "FTP/FTPS"
        roMonitor --- roFTP(fa:fa-file-export Folders)
    end
</div>  

*This diagram shows how the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> File and FTP Monitoring Agent connects to various file-based resources across your environment.*

Instances of this agent can be installed on-premise using TCP/IP for local network access and/or in the cloud/off-site using [Service Bus Relaying][] (see also the external link for additional information ['Azure Relay FAQs'][MicrosoftServiceBusRelayingLink]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>).

>We recommend that you keep this agent close to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Core Services][]. This documentation covers local network setup (usually on the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> application server)

|Verified|Topic|  
|:---:|---|  
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-box-check" aria-hidden="true"></i> [Software Requirements](#fa-box-check-software-requirements)|  
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fab fa-windows" aria-hidden="true"></i> [What Windows User Rights does the File and FTP Monitoring agent require?](#what-windows-user-rights-does-the-file-and-ftp-monitoring-agent-require)|  
|<i class="fal fa-square" aria-hidden="true"></i>|<i class="fal fa-shield-check" aria-hidden="true"></i> [What Firewall settings are required for the File and FTP Monitoring agent?](#fa-shield-check-what-firewall-settings-are-required-for-the-file-and-ftp-monitoring-agent)|  

## <i class="fal fa-box-check" aria-hidden="true"></i> Software Requirements

|Product|Version/Edition|Comment|  
|---|---|---|  
|<i class="fab fa-windows" aria-hidden="true"></i> Windows Server|Windows 2025<br/>Windows 2022<br/>Windows 2019<br/>Windows 2016<br/>Windows 2012 R2<br/>Windows 2012||  
|<i class="fal fa-file-prescription" aria-hidden="true"></i> .NET Framework|.NET Framework 4.8 or later <sup><span class="nodinite-new-badge">New 6.0</span></sup><br/>Our recommendation is .NET Framework **4.8.1** or later||  
|<i class="fal fa-square-check" aria-hidden="true"></i> DFS Management Tools|You must install **´DFS Management Tools´** if you want to use a DFS file share in the Monitoring||  

>Versions **6.0** and later make use of the .NET Framework 4.8 or later.  
>Versions **5.4** and subsequently make use of the .NET Framework 4.6.2 or later.  
>Versions before **5.4** make use of the .NET Framework 4.5.2 or later.  

``` powershell
 Install-WindowsFeature RSAT-DFS-Mgmt-Con
```

<h2 id="what-windows-user-rights-does-the-file-and-ftp-monitoring-agent-require"><i class="fab fa-windows" aria-hidden="true"></i> What Windows User Rights does the File and FTP Monitoring agent require?</h2>

The agent is installed as a **Windows Service** usually on the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> application server. Virtual machines are supported.  

* Local named account or domain account (preferred).  
* Access and run-time rights.  
  * Follow the '[How to set logon as a Windows service right][How to set Logon as a Service right]' user guide for detailed instructions.  

>For each Folder being monitored you may need to provide alternate credentials, review the [Configuration][] user guide for additional details.

### <i class="fal fa-level-down" aria-hidden="true"></i> least privileges (basic usage)

* Read permission to the folder where to check for files (and all its child folders if the 'Include child folders' option is checked)  
* <i class="fal fa-folders" aria-hidden="true"></i> [Folders (SMB)][Paths]  
* <i class="fal fa-folders" aria-hidden="true"></i> [Folders (NFS)][NFS]  
* <i class="fal fa-file-export" aria-hidden="true"></i> [FTP][]  
* <i class="fal fa-file-certificate" aria-hidden="true"></i> [SFTP][]  

## <i class="fal fa-shield-check" aria-hidden="true"></i> What Firewall settings are required for the File and FTP Monitoring agent?

Where you install the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [File Monitoring Agent][] in relation to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Monitoring Service][] and your file servers determines your firewall configuration. The diagram shows every host involved, with the agent on its own server; each arrow starts at the side that opens the connection.

<div class="mermaid">
graph LR
    subgraph "Nodinite Core Services Server"
        roMonitoringService(fa:fa-watch-fitness Monitoring Service)
    end
    subgraph "Nodinite Agent Server"
        roNI(fa:fa-folder File and FTP Monitoring Agent)
    end
    subgraph "Target: File Server (SMB)"
        roSMB(fa:fa-folders Windows / Samba shares)
    end
    subgraph "Target: NFS Server"
        roNFS(fa:fa-folders NFS exports)
    end
    subgraph "Target: FTP / FTPS Server"
        roFTP(fa:fa-file-export FTP folders)
    end
    subgraph "Target: SFTP Server"
        roSFTP(fa:fa-file-certificate SFTP folders)
    end
    subgraph "Domain Controller"
        roDC(fa:fa-building Active Directory)
    end
    subgraph "DNS Server"
        roDNS(fa:fa-signs-post DNS)
    end
    subgraph "Azure Service Bus Relay (optional)"
        roRelay(fa:fa-cloud Relay namespace)
    end
    roMonitoringService --> |"Agent site port (v7) / 8000 (v6)"| roNI
    roNI --> |"445 (135-139 legacy)"| roSMB
    roNI --> |"2049, 111"| roNFS
    roNI --> |"21 / 990 + passive range"| roFTP
    roNI --> |"22"| roSFTP
    roNI -.-> |"88, 389, 636"| roDC
    roNI --> |"53"| roDNS
    roMonitoringService -.-> |"443"| roRelay
    roNI -.-> |"443"| roRelay
</div>

*Network diagram: the Monitoring Service calls the agent, and the agent connects to each file server you monitor. Dashed arrows are optional hops.*

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>When the agent runs on the Core Services Server (the typical installation), you need no firewall rule between the <a href="https://docs.nodinite.com/core-services/monitoring-service/overview/">Monitoring Service</a> and the agent. The exact ports to the file servers depend on your policies and server configuration.</p></div>
</aside>

### Between the Monitoring Service and the File and FTP Monitoring Agent

The [Monitoring Service][] opens every connection; the agent never calls it. On Windows Server, <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> v7 hosts the agent as its own [IIS][IIS Overview] web site, on a port you set per environment in the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Portal][NodinitePortal]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> ([Servers step][]).

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Inbound|Core Services Server|Agent Server|TCP (HTTPS/HTTP)|Agent site port|Poll the agent, send configuration, run [Remote Actions][]|v7. No fixed default; use the port set in the Portal. Only when the agent is on a **remote** server|  
|Inbound|Core Services Server|Agent Server|TCP|[8000][Port8000]|Same, for Windows Service agents|⚠️ v6 and earlier only (legacy MSI installer on remote servers)|  

#### Option: Service Bus Relaying (cloud or hybrid)

Use [Service Bus Relayed connections][Service Bus Relaying] when <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> and the agent are on different networks. Both sides connect **outbound** to the Azure Relay namespace, so neither server needs an inbound rule. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> uses the same principle as the on-premises data gateway; see '[Adjust communication settings for the on-premises data gateway](https://learn.microsoft.com/en-us/data-integration/gateway/service-gateway-communication)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>' and the ['Azure Relay FAQs'][MicrosoftServiceBusRelayingLink]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Azure Relay (`*.servicebus.windows.net`)|TCP|443|HTTPS (WebSockets): the agent's relay listener|All versions. Allow the relay host by DNS name, not by IP address: the relay gateway addresses change|  
|Outbound|Core Services Server|Azure Relay (`*.servicebus.windows.net`)|TCP|443|The Monitoring Service and the [Web API][] call the agent through the relay|HTTPS only, direct (no proxy)|  

### Between the File and FTP Monitoring Agent and SMB file shares

Required for [Folders (SMB)][Paths] on Windows file shares, Samba, and DFS.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Target (File Server)|TCP|445|Direct-hosted SMB (SMB 2/3)|Recommended|  
|Outbound|Agent Server|Target (File Server)|TCP/UDP|135-139|Microsoft file sharing (NetBIOS)|Legacy SMB 1.0/CIFS only; consider disabling SMB 1.0|  
|Inbound|Target (File Server)|Agent Server|TCP/UDP|135-139, 445|Response traffic|Automatically allowed by stateful firewall inspection|  

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p><strong>DFS Shares</strong>: Distributed File System (DFS) shares use the same SMB ports. Allow connectivity to every DFS namespace server and folder target.</p></div>
</aside>

### Between the File and FTP Monitoring Agent and FTP / FTPS servers

Required for [FTP][] monitoring. Use **Passive Mode** where you can: the agent then opens both the control and the data connections (outbound only).

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Target (FTP Server)|TCP|21|FTP / explicit FTPS control connection|Default; can be changed on the server|  
|Outbound|Agent Server|Target (FTP Server)|TCP|990|Implicit FTPS control connection|Only for implicit FTPS (TLS from the first byte)|  
|Outbound|Agent Server|Target (FTP Server)|TCP|Passive data range|Data connections (Passive Mode)|Set a fixed range on the FTP server, for example 50000-51000, and allow it. With FTPS the firewall can't inspect the encrypted control channel to open data ports dynamically|  
|Inbound|Target (FTP Server)|Agent Server|TCP|Agent ephemeral ports (from server port 20)|Data connections (Active Mode, `PORT`)|⚠️ Not recommended; the FTP server connects back to the agent|  
|Inbound|Target (FTP Server)|Agent Server|TCP|21, 990, passive range|Response traffic|Automatically allowed by stateful firewall inspection|  

### Between the File and FTP Monitoring Agent and SFTP servers

Required for [SFTP][] monitoring. SFTP runs inside one SSH connection, so it needs a single port.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Target (SFTP Server)|TCP|22|SFTP (SSH) connection|Default. Many servers use a custom SSH port (for example 2222); set the same port in the agent configuration|  
|Inbound|Target (SFTP Server)|Agent Server|TCP|22|Response traffic|Automatically allowed by stateful firewall inspection|  

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p><strong>SSH Key Authentication</strong>: When you use SSH keys, add the agent's public key to the SFTP server's <code>~/.ssh/authorized_keys</code> file for the monitoring user account.</p></div>
</aside>

### Between the File and FTP Monitoring Agent and NFS servers

Required for [Folders (NFS)][NFS] on Linux/UNIX or Windows Server for NFS.

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Target (NFS Server)|TCP/UDP|2049|NFS server (nfsd)|NFS v3 and v4. NFS v4 needs only this port|  
|Outbound|Agent Server|Target (NFS Server)|TCP/UDP|111|RPC Portmapper|NFS v3; maps RPC requests to the NFS services|  
|Outbound|Agent Server|Target (NFS Server)|TCP/UDP|1039, 1047, 1048|mountd, statd, lockd|NFS v3; may vary. Linux assigns these dynamically unless you pin them|  
|Outbound|Agent Server|Target (NFS Server)|TCP/UDP|665-1024|Privileged source ports|Only when you use the privileged ports option|  
|Inbound|Target (NFS Server)|Agent Server|TCP/UDP|111, 2049, 665-1024, 1039, 1047, 1048|Response traffic|Automatically allowed by stateful firewall inspection|  

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p><strong>NFS Dynamic Ports</strong>: mountd, statd, and lockd often get dynamic ports from the RPC Portmapper (port 111). Configure your NFS server to use <strong>static ports</strong> for these services to keep firewall rules simple, or use NFS v4 (port 2049 only).</p></div>
</aside>

#### NFS PowerShell Script Example

```powershell
# Open required firewall ports for NFS
$ports = @(111, 2049)
foreach ($port in $ports) {
    New-NetFirewallRule -DisplayName "Allow NFS Port $port" -Direction Inbound -Action Allow -Protocol TCP -LocalPort $port -Profile Any -Verbose
    New-NetFirewallRule -DisplayName "Allow NFS Port $port (UDP)" -Direction Inbound -Action Allow -Protocol UDP -LocalPort $port -Profile Any -Verbose
}
# Set static ports for NFS services to avoid dynamic assignment

Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Rpc" -Name "InternetPorts" -Value 2049 -Type DWord
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Rpc" -Name "InternetAvailable" -Value 1 -Type DWord

# Restart NFS and RPC services
Restart-Service -Name "RpcEptMapper"
Restart-Service -Name "NfsService"

Write-Host "NFS Ports have been configured and firewall rules applied."
```

Run `netstat -ano | findstr :2049` on the NFS server to check that NFS is listening, and `Test-NetConnection -ComputerName <NFS_SERVER> -Port 2049` on the Agent Server to verify connectivity.

### Between the File and FTP Monitoring Agent and the Domain Controller

Required when the agent's service account, or the alternate credentials of a monitored folder, is a domain account (SMB and DFS shares).

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|Domain Controller|TCP/UDP|88|Kerberos authentication|Required for domain authentication|  
|Outbound|Agent Server|Domain Controller|TCP/UDP|389|LDAP|Standard LDAP queries|  
|Outbound|Agent Server|Domain Controller|TCP|636|LDAPS (Secure LDAP)|Required for LDAPS authentication|  
|Inbound|Domain Controller|Agent Server|TCP/UDP|Same as outbound|Response to Kerberos / LDAP|Usually allowed by stateful firewall inspection|  

### Between the servers and DNS

|Direction|Source|Destination|Protocol|Port(s)|Purpose|Notes|  
|---|---|---|---|---|---|---|  
|Outbound|Agent Server|DNS Server|TCP/UDP|53|Name resolution|Resolve the file, FTP, SFTP, and NFS servers, the Domain Controller, the Core Services Server, and (with relaying) `*.servicebus.windows.net`. A local `hosts` file can replace DNS|  
|Outbound|Core Services Server|DNS Server|TCP/UDP|53|Name resolution|Resolve the Agent Server|  

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p><strong>Stateful Firewalls</strong>: Most Windows Firewall implementations are stateful, so response traffic for established outbound connections is allowed automatically. The inbound response rules above are for reference and troubleshooting.</p></div>
</aside>

___

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

<i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Add or manage Monitoring Agent][]  
<i class="fal fa-rocket" aria-hidden="true"></i> [Install File Monitoring Agent][Install]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

<i class="fal fa-display" aria-hidden="true"></i> [Monitoring][]  
<i class="fal fa-gears" aria-hidden="true"></i> [Administration][]  

[Add or manage Monitoring Agent]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/add-or-manage-monitor-agent/
[Administration]:https://docs.nodinite.com/administration/overview/
[Configuration]:https://docs.nodinite.com/logging-and-monitoring/file-folder/getting-started/configuration/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[File Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/file-folder/overview/
[FTP]:https://docs.nodinite.com/logging-and-monitoring/file-folder/features/ftp/overview/
[How to set Logon as a Service right]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/logon-as-a-service-right/
[IIS Overview]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/overview/
[Install]:https://docs.nodinite.com/logging-and-monitoring/file-folder/getting-started/install/
[MicrosoftServiceBusRelayingLink]:https://learn.microsoft.com/en-us/azure/azure-relay/relay-faq/
[Monitoring]:https://docs.nodinite.com/monitoring/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[NFS]:https://docs.nodinite.com/logging-and-monitoring/file-folder/features/nfs/overview/
[NodinitePortal]:https://portal.nodinite.com
[Paths]:https://docs.nodinite.com/logging-and-monitoring/file-folder/features/folders-smb/overview/
[Port8000]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/why-do-nodinite-use-port-8000/
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/
[Servers step]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/#core-platform-services
[Service Bus Relaying]:https://docs.nodinite.com/install-and-update/troubleshooting/configure-service-bus-relaying-for-monitor-agents/
[SFTP]:https://docs.nodinite.com/logging-and-monitoring/file-folder/features/sftp/overview/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/