Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

ALG for Tenant Systems

An Application Layer Gateway (ALG) in tenant systems enables the gateway to parse application layer payloads and take decisions whether to allow or deny traffic to the application server. ALGs supports the applications such as Transfer Protocol (FTP) and various IP protocols that use the application layer payload to communicate the dynamic Transmission Control Protocol (TCP) or User Datagram Protocol (UDP) ports on which the applications open data connections. For more information, see the following topics:

Understanding ALG Support for Tenant System

An Application Layer Gateway (ALG) enables the gateway to parse application layer payloads and take decisions whether to allow or deny traffic to the application server.

Starting in Junos OS Release 18.3R1, the ALG feature supported on logical systems is now extended on tenants systems.

The tenant systems administrator can configure the ALG features for the tenant systems. The primary administrator can configure the ALG features and display the ALG information for all tenants. The tenant systems administrator can only apply configurations and display information in its own tenant.

Each tenant system displays the ALG counters to monitor the traffic. For example, use commands show security alg sip counters tenants TN1 to get SIP counters in tenant systems and show security alg sip counters tenants all to get SIP counters in all existing tenant systems.

Enabling the security log for the tenant generates the ALG logs per tenant.

Note:

When you upgrade to Junos OS Release 18.3R1, the ALG status for each tenant system might be different depending on the default configuration or configuration in a release prior to Junos OS Release 18.3R1. We recommend you to change the ALG configurations for tenant systems as per your requirements after an upgrade to latest Junos OS version.

Enabling and Disabling ALG for Tenant System

This topic shows how to enable or disable the ALG status for each tenant system.

  1. By Default IKE ALG is disabled on the tenant system. To enable this ALG, use the following command.
    • Enable IKE and ESP ALG with NAT.

  2. By default, the DNS, FTP, PPTP, SIP, SUNRPC and TWAMP ALGs are enabled on the tenant system. To disable these ALGs, use the following commands.
    • Disable DNS ALG.

    • Disable FTP ALG.

    • Disable H323 ALG.

    • Disable MGCP ALG.

    • Disable MSRPC ALG.

    • Disable PPTP ALG.

    • Disable RSH ALG.

    • Disable RTSP ALG.

    • Disable SCCP ALG.

    • Disable SIP ALG.

    • Disable SQL ALG.

    • Disable SUNRPC ALG.

    • Disable TALK ALG.

    • Disable TFTP ALG.

  3. Configuring ALG functions in tenant systems.
    • Configure DNS ALG.

    • Configure FTP ALG.

    • Configure H323 ALG.

    • Configure IKE and ESP ALG with NAT.

    • Configure MGCP ALG.

    • Configure MSRPC ALG.

    • Configure PPTP ALG.

    • Configure RSH ALG.

    • Configure RTSP ALG.

    • Configure SCCP ALG.

    • Configure SIP ALG.

    • Configure SQL ALG.

    • Configure SUNRPC ALG.

    • Configure TALK ALG.

    • Configure TFTP ALG.

    • Configure TWAMP ALG.

    • Configure extended function for FTP ALG.

    • Configure extended function for MSRPC ALG.

    • Configure extended function for SUNRPC ALG.

    • Configure extended function for SIP ALG.

Example: Configuring ALG in Tenant System

This example shows how to configure ALGs in tenant system and send traffic based on FTP ALG configuration of the tenant system individually.

Requirements

This example uses the following hardware and software components:

  • An SRX device

  • Junos OS Release 18.3R1

Before you begin:

  • Read the ALG Support for Tenant System to understand how and where this procedure fits in the overall tenant support for ALGs.

No special configuration beyond device initialization is required before configuring this feature.

Overview

In this example, the ALG for FTP is configured to monitor and allow FTP traffic to be exchanged between the clients and the server on a tenant system.

By default, the FTP ALG is enabled on the tenant system.

Configuration

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, copy and paste the commands into the CLI at the [edit] hierarchy level, and then enter commit from configuration mode.

Configuring FTP ALG in a Tenant System

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the Junos OS CLI User Guide.

To configure an ALG on a tenant system:

  1. Configure a security profile p1 for tenant.

  2. Configure interfaces and routing instances to the TN1.

  3. Configure a security profile p1 and assign it to the tenant system TN1.

  4. Configure security zones and assign interfaces to each zone.

  5. Configure a security policy that permits FTP traffic from the TN1_Czone to-zone TN1_Szone.

Results

From configuration mode, confirm your configuration by entering the show tenants TN1 command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

If you are done configuring the device, enter commit from configuration mode.

Verification

To confirm that the configuration is working properly, perform these tasks:

Verifying Intra-Tenant System traffic on ALG

Purpose

Verify the information about active resources, clients, groups, and sessions created through the resource manager.

Action

From operational mode, enter the show security resource-manager summary command.

Meaning

The output displays summary information about active resources, clients, groups, and sessions created through the resource manager.

Verify ALG status for Tenant System

Purpose

Verify the ALG status for tenant on the device.

Action

To verify the configuration is working properly, enter the show security alg status tenant TN1 command.

Meaning

The output display the alg status for FTP Enabled for the tenant system TN1.