Solved

Regarding getting access for servers on intranet externally thro' internet

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

920 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

15 Experts available now in Live!

Get 1:1 Help Now