Solved

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

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

16 Experts available now in Live!

Get 1:1 Help Now