Cisco ASA Connect to CentOS 6.6 Server Via SSH From Outside to DMZ

Hello Experts:

I have one server in a DMZ60 network.  I need to make this server available to some contractors outside our network.   Therefore, I need to open ssh, http, and https from the DMZ60 to the OUTSIDE interface.  

I have been trying to get SSH working, but I still cannot get it.

This is what I have so far:


NAT:

ASA# sh nat | incl 167.192.X.X   (External address)
98 (DMZ60) to (outside) source static web-192.168.X.X-dmz -websites-167.192.X.X-OUT
ASA#
ASA#
ASA# sh nat | incl 192.168.X.X  (DMZ address)
98 (DMZ60) to (outside) source static web-192.168.X.X-dmz -websites-167.192.X.X-OUT


ASA# sh run | incl 167.192.X.X   (External address)
object network websites-167.192.X.X-OUT
 host 167.192.X.X
access-list in1 extended permit tcp any object websites-167.192.X.X-OUT eq ssh
access-list DMZ60-in extended permit tcp any object websites-167.192.X.X-OUT eq ssh
 nat (DMZ60,outside) static websites-167.192.X.X-OUT
ASA#


ASA# sh run | incl 192.168.X.X  (DMZ60 address)
object network web-192.168.X.X-dmz
 host 192.168.X.X
access-list in1 extended permit tcp any object web-192.168.X.X-dmz eq ssh
object network web-192.168.X.X-dmz
ASA#


DMZ60-in and in1 are two ACL groups that have objects inside them.  I believe that the one DMZ60-in is the one for servers inside the DMZ and the in1 is for servers in the inside interface.

I think I do not need in1, but it is just there since I have no idea how to make this work.

The attache word document shows that output of Packet Tracer that I do not know if I am using properly.  

cisco-asa-packet-tracer.docx
willie0-360Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

willie0-360Author Commented:
All of the above configuration(s) is correct.  The problem was that I was using the wrong gateway on the Linux server.  Once I corrected that, everything started working.

Thanks.
Willie
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Network Operations

From novice to tech pro — start learning today.