Solved

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

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

813 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

17 Experts available now in Live!

Get 1:1 Help Now