Solved

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

Posted on 2006-07-20
2
206 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
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

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

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

Suggested Solutions

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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

919 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

21 Experts available now in Live!

Get 1:1 Help Now