Solved

hosts file question

Posted on 2013-06-30
5
361 Views
Last Modified: 2013-06-30
Hi,

This is probably a complete rookie question but I am just not sure anymore.

I have a centos6 server and have a external firewall.
So I use NAT to translate public IP's to internal IP's

so should the hosts file use public ips or internal IPs?


Best wishes,
thom
0
Comment
Question by:Thomanji
5 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 450 total points
ID: 39287949
If the hosts file is inside the firewall, use the internal IPs
If it is a public host file, use the public IPs
0
 
LVL 11

Expert Comment

by:Manjunath Sullad
ID: 39287950
Hi ,

NATted IP address you need to add.

Regards,
~ Manju
0
 
LVL 16

Assisted Solution

by:Shaik M. Sajid
Shaik M. Sajid earned 50 total points
ID: 39287980
when yo do NAT the adress will be automatically translated... from public ip to private IP...

and the public ip stays on the firewall route the traffic to your Natted server private IP...

so where why you'll put the public IP....

you need security and youare hiding your server from public ip so you must go for server a private IP...

while users accessing from external they feel that they are accessing from public IP ... even it'll not shows the private IP to external Users...


the main question is how you want to host files ?  do you mean by FTP ?

it's quite simple...  

all the best
0
 

Author Comment

by:Thomanji
ID: 39289110
Thanks for the answers, both actually work fine, just meant in terms of securety. I will go with Ozo's info and use the public since this is a public server so I guess I should keep the internal addresses as secret as possible.
Thank you all for the feedback.
0
 

Author Closing Comment

by:Thomanji
ID: 39289113
Thanks guys
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

Suggested Solutions

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

911 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

20 Experts available now in Live!

Get 1:1 Help Now