Ping and other Applications in the same rule on a non-standard port

cancel
Showing results for 
Search instead for 
Did you mean: 

Ping and other Applications in the same rule on a non-standard port

L2 Linker

Is there a way to allow ping on a rule that has another application that uses a non-standard port? So for example, if yum uses port TCP 3142 instead of its default tcp/80,21 is there a way I can attach ping to that rule and still have it work? Like on Cisco ASAs you can add icmp as a port/service.

 

Example that doesn't work:

bafergel_0-1632856860628.png

 

Example that does work:

bafergel_1-1632856909682.png

 

 

Network Administrator
2 ACCEPTED SOLUTIONS

Accepted Solutions

L4 Transporter

Thank you for posting question @bafergel

 

Probably one way around it is to create a custom application by going to: Objects > Applications > Add, then under Configuration use new name, for example: "ping-tcp", then mimic all the setting under properties that ping is using as a default application. Under Advanced setting, configure new port:

 

PavelK_0-1632862920820.png

Then replace existing ping application with this new application in your security policy.

 

Note: By default ping is using ICMP Type 0 and Type 8. If you want this to be working, you will also have to send ping from your client as TCP. Potentially 3rd party clients such as HPing or PsPing will have to be used instead of default ping utility in OS.

 

Kind Regards

Pavel

 

Pavel Kucera

View solution in original post

Cyber Elite
Cyber Elite

Hello,

Remember that everything in the policy must match that policy. So if there is a defined port, e.g. 3142, ping would have to match that port for it to be allowed. In this case I would create a separate policy, cloned, and then add the applications you would like allowed and use the Application-Default setting instead of setting a specific port.

 

Regards,

View solution in original post

2 REPLIES 2

L4 Transporter

Thank you for posting question @bafergel

 

Probably one way around it is to create a custom application by going to: Objects > Applications > Add, then under Configuration use new name, for example: "ping-tcp", then mimic all the setting under properties that ping is using as a default application. Under Advanced setting, configure new port:

 

PavelK_0-1632862920820.png

Then replace existing ping application with this new application in your security policy.

 

Note: By default ping is using ICMP Type 0 and Type 8. If you want this to be working, you will also have to send ping from your client as TCP. Potentially 3rd party clients such as HPing or PsPing will have to be used instead of default ping utility in OS.

 

Kind Regards

Pavel

 

Pavel Kucera

View solution in original post

Cyber Elite
Cyber Elite

Hello,

Remember that everything in the policy must match that policy. So if there is a defined port, e.g. 3142, ping would have to match that port for it to be allowed. In this case I would create a separate policy, cloned, and then add the applications you would like allowed and use the Application-Default setting instead of setting a specific port.

 

Regards,

View solution in original post

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!