how to make ssh work on different port number

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

how to make ssh work on different port number

L1 Bithead

Hi,

 

my colleague requested for some server to communicate to outside server (internet) using sftp. but they want to use port 9122.

on the firewall rule i cannot find the way how to do it. i know sftp i using ssh port 22. i tried defining port 9122 and ssh as application but it doesnt work. anybody have any idea? tia

 

chris

18 REPLIES 18

Hi Reaper,

 

i exactly followed the procedure for the custom application. the application default im saying it at the firewall security rule. .i made it :

 

application field = the custom application i created with application override

 service field = i chose application-default rather than the specific port 9122.

 

im not quite sure about the screenshot you shown. maybe im using different model mine is pa-4050  

the screenshot is of the service object

it should look identical on all platforms and across all PAN-OS versions, it can be found in Objects > services

if you click it's name you can look at the properties, to make sure it has not simply been named appropriately but tcp is set and the destination port is 9122 (and source port random)

 

2016-09-16_23-14-04.jpg

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

hi reaper, yes i also made a custom port wit h9122. but on the firewall rule i used "application-default" on the service field.

I know, but since you needed to switch to application-default because the service object didn't work, i suspected the service object may have been misconfigured

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization
  • 10909 Views
  • 18 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!