Solved

Regarding getting access for servers on intranet externally thro' internet

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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.

856 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