Solved

Regarding getting access for servers on intranet externally thro' internet

Posted on 2004-09-25
2
197 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 125 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Rate limit for DNS queries 7 91
centos linux 65 186
Run Secure WMI query from CentOS 5 138
SMB share across internet 15 80
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

763 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