Solved

config sshd to different port in pix firewall

Posted on 2007-03-29
8
294 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
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
 

Author Comment

by:heydorft
ID: 18820689
gopher  not golpher
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

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.
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
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…

929 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

17 Experts available now in Live!

Get 1:1 Help Now