DeviceOn
  • Get Started
    • ⬇️Resources Download
    • πŸ’‘About DeviceOn
      • Feature Highlight
      • Cloud Versions
      • Agent Versions
      • Security Architecture
    • πŸ› οΈInstallation and Deployment
      • Server (Standard)
        • Windows
        • Ubuntu
        • Azure Marketplace
        • AWS Marketplace
      • Server (Enterprise)
        • Azure Kubernetes
      • Agent
        • Windows
        • Ubuntu
    • ⏲️Version History
      • Version 5.3.12
      • Version 5.2.4
      • Version 5.1.2
      • Version 5.0.3
      • Version 4.7.2
      • Version 4.6.3
      • Version 4.5.5
      • Version 4.4.2
      • Version 4.3.10
      • Version 4.3.3
      • Version 4.2.3
    • ❓FAQ
      • General
      • Technical
  • SECURITY STANDARD
    • ISA/IEC 62443
    • Compliance
  • User Interface & Functions
    • πŸ’»Server (Standalone)
      • Server Management Tools
      • Background Service
  • πŸ–₯️Agent
    • User Interface
    • Background Services
  • 🏠Web User Interface
    • Overview
    • Device Management
      • Device List
      • Real-time Monitoring & Rule Engine
      • Remote Control & Diagnostic
      • Device Data
      • Device Group
      • Task Management (Batch Control)
      • Provision & Configuration
      • Anomaly Detection
    • App Management (OTA)
    • Container Management
    • System Setting
    • Dashboard
    • Event Logs
    • Account Management
  • LAB
    • πŸ“¦Application (OTA)
      • Package and Deploy your Application
      • Security Update for Windows
      • Upgrade DeviceOn Agent in On-premises DeviceOn Server
  • πŸ”§Out-of-Band
    • Intel AMT
      • Local Management (iAMT)
      • Cross-Network Integration (Open AMT)
    • IPMI
    • AMD DASH
    • Advantech iBMC
    • Advantech EdgeBMC
  • 🌐System
    • Update DeviceOn Server to the Latest Version
    • Enabling Automated Backups and Restores from Backup Archives
    • Enable Passive Mode on FTP Server
    • Enable HTTPs for DeviceOn Web Service
    • License Management
  • βš’οΈManaged Devices
    • Set up Device Thresholds and Enable Trigger Notifications
    • Set up the Application Watchdog and Enable Trigger Notifications
    • Visualize Device Data through Grafana Dashboards
    • Onboard Multiple Devices at Once
    • Securely Connect to DeviceOn using x.509 Certificates
    • Enable Windows Lockdown Features
Powered by GitBook
On this page
  • Step 1: Edit Configuration File
  • Step 2: Add inbound security rules
  • Step 3: Restart Service

Was this helpful?

  1. System

Enable Passive Mode on FTP Server

PreviousEnabling Automated Backups and Restores from Backup ArchivesNextEnable HTTPs for DeviceOn Web Service

Last updated 1 year ago

Was this helpful?

DeviceOn FTP default setting is active mode. However, FTP runs active mode may fail in cases where the server is behind a router or the server deplyed on Azure/AWS or other cloud’s virtual machine. And that will cause DeviceOn initialize failure. To solve this issue, you should change FTP server to passive mode.

Step 1: Edit Configuration File

Open the ftpd-typical.xml on text editor tool that located in

\DeviceOn Path\ftp\res\conf\

Add the following XML attribute (data-connection) into listeners tag and give your passive ports range and external DNS.

<data-connection idle-timeout="60">  
  <passive ports="60001-60100" external-address="<YOUR_EXTERNAL_DNS>" address="0.0.0.0" />  
</data-connection>  

β€œ60001-60100” means in passive mode, ftp client uses port 60001 to 60100 to transfer data. You could change it to any available ports range. β€œYOUR_EXTERNAL_DNS” means in passive mode, client’s destination domain name. You should replace it with real domain name which can be access from external side. After that, restart the service (Apache FtpServer ftpd) to apply setting.

Step 2: Add inbound security rules

Add inbound security rules on your network security group (ex, Azure Network Security Groups and Firewall Rules), make sure blow ports are available.

  • 2121 (command port)

  • 60001-60100 (Passive port)

Step 3: Restart Service

Restart DeviceOn service, stop/start the β€œManagement Service” via server tray icon.

🌐