?
Solved

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

Posted on 2014-12-21
1
Medium Priority
?
207 Views
Last Modified: 2014-12-22
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
0
Comment
Question by:willie0-360
[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
1 Comment
 

Accepted Solution

by:
willie0-360 earned 0 total points
ID: 40513874
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

Featured Post

Ransomware Attacks Keeping You Up at Night?

Will your organization be ransomware's next victim?  The good news is that these attacks are predicable and therefore preventable. Learn more about how you can  stop a ransomware attacks before encryption takes place with our Ransomware Prevention Kit!

Question has a verified solution.

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

When replacing some switches recently I started playing with the idea of having admins authenticate with their domain accounts instead of having local users on all switches all over the place. Since I allready had an w2k8R2 NPS running for my acc…
As dyndns has reduced the capabilities of the free service, I looked around for other free providers of Dynamic DNS service. After testing several I decided to move my DNS hosting to Hurricane Electric as then domains that require dynamic hostnam…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

765 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