Solved

Accessing a windows based web-server with private IP address through a Linux-based Name Server

Posted on 2006-07-20
2
242 Views
Last Modified: 2010-03-18
Hi,
I am not sure if this posting should bein the Linux or WIndows Networking Forums. But I guess somebody would point me in the right direction, if I am wrong. That said, here goes.
I purchased a domain a few days back, who allows me name server as well as DNS management. I have pointed the Name server to a machine in my department, which has a public IP address. The problem is I want to run my webserver on a Wondows XP based machine with a private Ip address of 10.x.x.x. The Name Server as well as the DNS server of my department runs on Linux. Is there any way in which I can do this, short of running Samba on the Linux machine or changing the OS of my web server to Linux ?
0
Comment
Question by:nmadhumohan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
noci earned 500 total points
ID: 17149077
Please look into iptables , and nat .
other items that are of interrest: FORWARD rules, ip_forward setting for ipv4.

Samba has nothing to do with this. You need some system with a public IP address to route it to the inside and translate some ipaddresses
on the fly.

in iptables on linux you need a PREROUTING  nat rule that will do a DNAT translation for you,
you need a forward rule to prevent too much access,
you need to enable routing & forwarding through /proc/sys/net/ipv4/ip_forward.
0
 

Author Comment

by:nmadhumohan
ID: 17236172
Thanks for the tip. I am sorry for the delay in awarding the points - i had been away on a vacation and just got back.
0

Featured Post

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

623 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