Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[ScreenOS] How to configure FTP with a custom control port



Article ID: KB7096 KB Last Updated: 25 Feb 2013Version: 6.0
This article provides information on how to configure FTP with a custom control port.

  • FTP via a non-standard control port.

  • Custom ALG.


To configure FTP to use a custom control port, perform the following procedure:

Note: The following information assumes that you want to configure the firewall to allow FTP by using the '35021' control port.

  1. Define a custom service for FTP:
    set service Custom-FTP protocol tcp src-port 1-65535 dst-port 35021-35021
    This creates the non-standard FTP service port.

  2. Create the policy for the service:
    set policy id 1 from trust to untrust any any Custom-FTP permit
    This allows connections for the FTP service.

  3. Enable the custom ALG for the policy:
    set policy id 1 application ftp
    This turns on the ALG for FTP on the port for this service.
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search