LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-04-2011, 05:05 AM   #1
MarkRaats
LQ Newbie
 
Registered: Dec 2010
Posts: 12

Rep: Reputation: 0
NAT Local Network


Hi all,

First let me explain the situation.
There is in the DMZ a NAT Server, behind the NAT Server is a vritual switch that is connected with a Network environment that called the live environment. Here are a lot of virtual servers.

If you want to communicate with the virual servers, outside the company, works with portforwarding.

The issue is, there is also a test environment in the trusted zone. From this place we must deploy ruby on rails applications to the live environment. Normally will this work with SSH, port 23. The question is now how can I be sure that I connect with SSH to the correct virtual server behind the NAT server.

I hope everything is a bit clear and you all understand it.

Greetings Mark
 
Old 05-04-2011, 05:13 AM   #2
kaushalpatel1982
Member
 
Registered: Aug 2007
Location: INDIA
Distribution: CentOS, RHEL, Fedora, Debian, Ubuntu, LinuxMint, Kali Linux, Raspbian
Posts: 166

Rep: Reputation: 10
1. you can differentiate them with Server Name
2. If you don't want to change the name of the server, Create text file on root (/) or home directory of all (test and live) server and write the environment like TEST or LIVE inside the file.
 
Old 05-04-2011, 07:46 AM   #3
MarkRaats
LQ Newbie
 
Registered: Dec 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Your second point is not clear for my, please explain it
Your first point Server Name? you mean domain name?
 
Old 05-04-2011, 08:05 AM   #4
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Quote:
Your second point is not clear for my, please explain it
I believe that they meant that you can create a file and stick it in an obvious place and then look for that file. Put something in the file that will be meaningful to you as far as telling you what machine it is.
Quote:
Your first point Server Name? you mean domain name?
Not quite, rather the host name. The server should have a fully qualified name which is host@domain. Presumably all your machines will have the same domain name, but each one should have a unique host name.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I use NAT and some local hosts without NAT on linux box? tkmbe Linux - Networking 1 08-12-2010 02:38 PM
[SOLVED] Creating simultaneous network connections to a VPN and local area network. Reactor89 Linux - Networking 2 06-03-2010 12:52 AM
NAT TAble and local client problems linderox Linux - Networking 1 05-15-2008 02:22 AM
Cannot resolve local addresses on local network danielgrenyer Linux - Networking 6 01-14-2004 11:03 AM
NAT onto my network... NiM Linux - Networking 0 11-25-2001 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration