Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

config sshd to different port in pix firewall

Posted on 2007-03-29
8
Medium Priority
?
326 Views
Last Modified: 2010-04-17
I need to allow ssh and sshd through a pix firewall 515e for a internal ip mapped to an external ip

Now on sshd when I put it into the access list. I need it to go through port 70 instead of 22...how do I put into access list this way..not to good at pix firewalls

for example

access-list 101 permit tcp host 29.237.72.244host 64.177.198.293 eq sshd

how can I change the sshd to show 70 instead of the 22
0
Comment
Question by:heydorft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 2

Expert Comment

by:learn2earn
ID: 18817627
you might want to try
access-list 101 permit tcp 29.237.72.244 255.255.255.255 64.177.198.293 255.255.255.255 eq 70 sshd
pix(config)#ip access-group 101 in interface outside
0
 
LVL 29

Expert Comment

by:Alan Huseyin Kayahan
ID: 18818014
        Command above shouldn't work. because sshd word refers the port 22. so it will be as following
access-list 101 permit tcp 29.237.72.244 255.255.255.255 64.177.198.293 255.255.255.255 eq 70 22
         which is inacceptable in my opinion.
          you should simply allow the port 70 to your internal host and set the ssh oprt as 70 in both your ssh server and client

access-list 101 permit tcp 29.237.72.244 255.255.255.255 64.177.198.293 255.255.255.255 eq 70
access-group 101 in interface outside
         If you are not used to port forwardings in PIX, things wont work so easy. If you postyour running config and tell exactly which client to where, we would suggest more accurate.
0
 

Author Comment

by:heydorft
ID: 18820676
ok did

access-list 101 permit tcp 29.237.72.244 255.255.255.255 64.177.198.293 255.255.255.255 eq 70

and it came up

access-list 101 permit tcp 29.237.72.244 255.255.255.255 64.177.198.293 255.255.255.255 eq golpher

what the ?????
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:heydorft
ID: 18820689
gopher  not golpher
0
 

Author Comment

by:heydorft
ID: 18820705
How do I take this single line off the access list


http://en.wikipedia.org/wiki/Gopher_Protocol

0
 
LVL 29

Expert Comment

by:Alan Huseyin Kayahan
ID: 18822325
no access-list 101 permit tcp 29.237.72.244 255.255.255.255 64.177.198.293 255.255.255.255 eq golpher

will take it off
       
          If you are not used to port forwardings in PIX, things wont work so easy. If you postyour running config and tell exactly which client to where, we would suggest more accurate.
0
 

Accepted Solution

by:
heydorft earned 0 total points
ID: 18867214
I am not comfortable posted config
0
 
LVL 29

Expert Comment

by:Alan Huseyin Kayahan
ID: 18868948
         Install SecureCRT and enter CLI via SecureCRT. Then you will be able to copy paste all config.
0

Featured Post

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Powerful tools can do wonders, but only in the right hands.  Nowhere is this more obvious than with the cloud.
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question