?
Solved

Regarding getting access for servers on intranet externally thro' internet

Posted on 2004-09-25
2
Medium Priority
?
200 Views
Last Modified: 2013-12-16
HI Experts,
I have a webserver and few servers ( mail & file) which have ip addresses say 192.168.0.10 & 192.168.0.25  and are on the intranet. I can login to web server(apcahe) runnnig on Red Hat Linux 8.0 ( which has external ip address)  thro' SSH from home and can even access mail . But when I connect to the mail server( sendmail), I am actually connected to the web server as the named.conf  file on the web server has entry for mail server which is mapped to the ip address of web server. However, I cannot actually access the files on the mail server and same is the case with the file server. How can I establish connections to these mail and file servers?
Thanks for your support.
0
Comment
Question by:mn210
[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
2 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 12153195
How many outside (Internet) IP's do you have?

If you only have one your access to the inside servers will be limited. While it is possible to configure your firewall to forward a specific port to a specific inside server you can only have one service forwarded to a single machine. For example one could forward HTTP to 192.168.0.10 and POP & SMTP to 192.168.0.11, but one could not arrainge ssh access to two different inside IP's.

With more than one outside IP's the possibilites expand. On any given outside IP the limitation described above still applies, but because you have more than one outside IP the services can be made available on each IP. Or, you could use static NAT translations from outside IP's to inside machines.

Obviously, the DNS for the domain must be correct when more than one inside machine is used to provide various services, whcih doesn't appear to be the case at present.
0
 

Accepted Solution

by:
poush earned 375 total points
ID: 12254034
If your client is a windows machine putty is a great ssh client becasue its easy to set up tunnels that go thru the ssh server to the other machines on the intranet.  But even if you use linux you can easily set up the tunnel just "man ssh" and read the part about forwarding a local port. The idea is to forward a port on the client to a port on another machine on the intranet.  For example, forward L22222 (port 22222 on localhost) to mailserver:22 (thru the ssh connection to webserver).  ssh webserver -L 22222:mailserver:22
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month9 days, 14 hours left to enroll

762 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