Solved

config sshd to different port in pix firewall

Posted on 2007-03-29
8
291 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
  • 4
  • 3
8 Comments
 
LVL 2

Expert Comment

by:learn2earn
Comment Utility
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
Comment Utility
        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
Comment Utility
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
 

Author Comment

by:heydorft
Comment Utility
gopher  not golpher
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:heydorft
Comment Utility
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
Comment Utility
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
Comment Utility
I am not comfortable posted config
0
 
LVL 29

Expert Comment

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

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

If you have an ASA5510 then this sort of thing would be better handled with a CSC Module, however on an ASA5505 thats not an option, and if you want to throw in a quick solution to stop your staff going to facebook during work time, then this is the…
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now