Solved

Regarding getting access for servers on intranet externally thro' internet

Posted on 2004-09-25
2
192 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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now