Solved

DNS

Posted on 2004-08-30
5
276 Views
Last Modified: 2010-04-11
Yeah a pretty rough question title for a pretty rough idea i've got...

I've got in place a NAT system with DHCP sharing a single IP amongst computers on my network.
I've also set that PC up with ZoneEdit so that mydomain.com points to that NAT box, and there is some port-forwarding to allow port 80 on the NAT to map to our webserver...

On top of this I'd like to be able to specify names, like PC1.mydomain.com where "all-port" access can be made externally...
So say I'm outside the network, i can access my pc by typing oliwarner.mydomain.com (for whatever service I want to access - FTP/http) and it goes through the NAT...


The NAT box is a Smoothwall - Linux basically - so I need to know where i need to set up the DNS, how it all works and what problems I could expect from something like this...

Bonuses and good feedback for those that go that extra mile when helping. Thanks in advance.
0
Comment
Question by:OliWarner
  • 2
  • 2
5 Comments
 
LVL 1

Expert Comment

by:thepilo
ID: 11935828
What type of router do you have?
0
 
LVL 19

Accepted Solution

by:
drichards earned 350 total points
ID: 11937850
If I understand your desire correctly, you cannot do it.  Since you have ony one IP exposed to the world, you cannot use DNS to differentiate between boxes behind the router.  With only one IP, any DNS lookups would have to resolve to that one IP.  You no longer have any information to determine which host is being addressed.

With HTTP you can do virtual domains by inspecting the host header that gets transmitted as part of the HTTP request, but that won't work for other protocols.  The best you will be able to do is fancy port mapping, but ony one server will be able to operate on standard port.

Your only option is to obtain more external IP's.

Did I misunderstand the question?
0
 
LVL 16

Author Comment

by:OliWarner
ID: 11940337
The router is a Smoothwall PC - it basically uses a cut-down linux distribution with the right tools installed to do things...
It works very well as a router...

I was just under the impression that I might be able to have subdomains mapped through the router using the DNS server on my Smoothwall to allow external PCs to connect and for the smoothwall to map those names through to other PCs, behind the router.

I do understand that its totally possible to map single things like port 21 on my router to port 234 on my PC so can host a FTP server on port 234, and whatnot, but I'd really like to hear is anybody know of any way of mapping all ports forward...
0
 
LVL 1

Assisted Solution

by:thepilo
thepilo earned 150 total points
ID: 11940965
You can probably do that with one PC, but then no other pc's can map external connections.  It is also very unsecure.  you are better off just opening up the ports that you need and leaving the rest closed.
0
 
LVL 16

Author Comment

by:OliWarner
ID: 11941453
duly noted. thanks for shattering my dreams guys...

only joking. Splitting points for effort.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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…

776 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