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

cancel
Showing results for 
Show  only  | 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

Cyber Elite
Cyber Elite

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

 

Help the community: Like helpful comments and mark solutions.

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

3 REPLIES 3

Cyber Elite
Cyber Elite

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

 

Help the community: Like helpful comments and mark solutions.

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,

This is generally bad practice.  Since ping is typically used for troubleshooting maintaining a separate rule can lead to inaccurate troubleshooting when the rules aren't identically maintained. 

  • 2 accepted solutions
  • 3666 Views
  • 3 replies
  • 0 Likes
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!