SRX Services Gateway
Highlighted
SRX Services Gateway

About appliaction-name?

‎09-08-2019 08:48 PM

What is application-name in application statement?

It's a name of application (then where can i find this name) or i can set whatever i want?

sorry it's a naive question Smiley Happy

thank you!

5 REPLIES 5
Highlighted
SRX Services Gateway

Re: About appliaction-name?

‎09-08-2019 09:08 PM

Hello,

 

It is just a name. Any identifier you may want to give. In the below example the application name is TCP-5050.

 

set applications application TCP-5050 protocol tcp destination-port 5050

 

Regards,

 

Vikas

Highlighted
SRX Services Gateway

Re: About appliaction-name?

[ Edited ]
‎09-08-2019 09:40 PM

sanvinh,

 

The application-name is just the name you will give to a specific application. When you are configuring a security-policy you will make reference to that application by its name and you could also see the application name when running show commands like:

 

user@host> show security policies
From zone: trust, To zone: untrust
  Policy: p1, State: enabled, Index: 4, Sequence number: 1
    Source addresses:
    sa-1-ipv4: 198.51.100.11/24    
    sa-2-ipv6: 2001:db8:a0b:12f0::1/32
    sa-3-ipv6: 2001:db8:a0b:12f0::22/32
    sa-4-wc:   203.0.113.1/255.255.0.255
    Destination addresses:
    da-1-ipv4: 2.2.2.2/24
    da-2-ipv6: 2001:db8:a0b:12f0::8/32
    da-3-ipv6: 2001:db8:a0b:12f0::9/32  
    da-4-wc:   192.168.22.11/255.255.0.255
    Source identities: role1, role2, role4
    Applications: any  <<<< You will see the application name here
    Action: permit, application services, log, scheduled
    Application firewall : my_ruleset1 

 

Hope this helps you

 

Highlighted
SRX Services Gateway

Re: About appliaction-name?

‎09-08-2019 10:06 PM

Hi Folks,

You can refer the below tech-pubs documentation,

 

https://www.juniper.net/documentation/en_US/junos/topics/topic-map/policy-application-sets-configura...

 

 

-Python JNCIE 3X [SP|DC|ENT] JNCIP-SEC JNCDS 3X [ WAN | DC|SEC] JNCIS-Cloud JNCIS-DevOps CCIP ITIL
#Please mark my solution as accepted if it helped, Kudos are appreciated as well.
Highlighted
SRX Services Gateway

Re: About appliaction-name?

‎09-09-2019 12:18 AM

how can i give name to an application (not available predefined app) ?

Highlighted
SRX Services Gateway

Re: About appliaction-name?

[ Edited ]
‎09-09-2019 12:26 AM

Sanvinh,

 

You create custom applications unders [edit applications] hierarchy. See an example below:

 

set applications application NAME protocol tcp
set applications application NAME destination-port 1500

 

Find more information here: https://www.juniper.net/documentation/en_US/junos/topics/topic-map/security-policy-custom-applicatio...