[CentOS] firewall dilemma
john.allen at dublinux.net
Thu Nov 3 14:20:04 UTC 2005
Install a DNS server internally that answers for mydomain.com, and it
returns 10.x.x.x addresses
> On Thu, 3 Nov 2005, Ryan wrote:
>> On Wednesday 02 November 2005 02:53 pm, JC wrote:
>>> Hi everyone,
>>> I have this problem that I'm not sure what's the best solution for
>>> it. I
>>> need your input & help...
>>> I have an internal network behind a hardware firewall. All traffics go
>>> thru. the firewall. One of the firewall's rules is that it doesn't
>>> internal network accesses internal resources that travels outside then
>>> come back. In the other words, it drops all packets originate from
>>> the network that travels outside and then come back to access internal
>>> For example: I have web server (used internal ip 10.1.1.10) behind the
>>> firewall, internal network can access this web server with
>>> http://10.1.1.10, but they can't access http://www.mydomain.com.
>>> that I have static IP (xxx.xxx.xxx.xxx) maps to 10.1.1.10 and dns
>>> www.mydomain.com points to xxx.xxx.xxx.xxx
>>> What I want is to allow users inside the network be able to access
>>> http://www.mydomain.com instead of http://10.1.1.10
>>> Here is my question:
>>> should I change the rule of the firewall? If so, is there a security
>>> Is there any other solution for this?
>>> By the way, I don't have an internal DNS, I use my ISP DNS service.
>>> Thank you so much for your help,
>> Modify the hosts file of your clients to point
>> 10.1.1.10 to www.mydomain.com
>> Under windowsXP, open the file here: C:\WINDOWS\SYSTEM32\DRIVERS\ETC
>> add in a line:
>> 10.1.1.10 www.mydomain.com
> what about win 9x? I tried that on win98, but it's not working? Is
> there any additional setting I have to make?
> CentOS mailing list
> CentOS at centos.org
More information about the CentOS