{"id":634,"date":"2012-01-24T16:12:14","date_gmt":"2012-01-24T16:12:14","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2012\/01\/24\/how-to-define-a-port-range-on-a-juniper-srx\/"},"modified":"2021-07-24T18:21:01","modified_gmt":"2021-07-24T18:21:01","slug":"how-to-define-a-port-range-on-a-juniper-srx","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/Firewalls\/Juniper\/how-to-define-a-port-range-on-a-juniper-srx.html","title":{"rendered":"How to define a port range on a Juniper SRX"},"content":{"rendered":"
To create a range of ports within the SRX the following command is used. This example creates an application object named UDP-PORT-RANGE with a UDP port range of 5000-6999.<\/p>\n
set applications application UDP-PORT-RANGE protocol udp destination-port 5000-6999<\/p>\n
Once created you can then add this to a group. This group can then be added to the necessary policy. Below shows an example:<\/p>\n
set groups GRP-PORTS
set applications application-set GRP-PORTS application RDP-3389
set applications application-set GRP-PORTS application UDP-PORT-RANGE<\/p>\n
set security policies from-zone untrust to-zone trust policy example-policy match application GRP-PORTS<\/p>\n","protected":false},"excerpt":{"rendered":"
To create a range of ports within the SRX the following command is used. This example creates an application object named UDP-PORT-RANGE with a UDP port range of 5000-6999. set applications application UDP-PORT-RANGE protocol udp destination-port 5000-6999 Once created you can then add this to a group. This group can then be added to the necessary … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"yoast_head":"\n