12-13-2004 12:49 AM - edited 02-20-2020 11:48 PM
Hi,
Is it possible to tell the pix to listen on port 2022 for ssh ?
My provider is blocking port 22
Kind regards,
Edwin Gerritsen
Solved! Go to Solution.
12-13-2004 06:47 AM
Good thought but unfortunately, it will not work. The only way we could accomplish something like this would be to use an upstream device (like an IOS router) to do the port translation (similar to the idea above). Have it hit the upstream device on port 2022 and have that device translate the destination port to 22 and send it down to the PIX.
There is no mechanism to change the listening port for SSH on the PIX.
Scott
12-13-2004 05:04 AM
Hi edwin,
There are no explicit configurations, as per my knowledge that can change the SSH port on the PIX.. I dont think you can do this. It works on port 22. You can probably opt for the version of SSH , but not the port..
Regards,
Raj
12-13-2004 06:14 AM
Hi,
This may or may not be possible so please correct me if its wrong.
Perhaps you could use the "static" command to translate any SSH connections to the outside interface on port 2022 to the inside interface on port 22 thus allowing your external client to SSH to the internal interface of the PIX using port 2022 instead of 22.
so e.g. if your outside interface is 1.1.1 and your internal interface is 10.0.0.1
static (inside,outside) tcp interface 2022 10.0.0.1 22 255.255.255.255
Rgds
Paddy
12-13-2004 06:47 AM
Good thought but unfortunately, it will not work. The only way we could accomplish something like this would be to use an upstream device (like an IOS router) to do the port translation (similar to the idea above). Have it hit the upstream device on port 2022 and have that device translate the destination port to 22 and send it down to the PIX.
There is no mechanism to change the listening port for SSH on the PIX.
Scott
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide