| Author |
Message |
wk5657 ChangeIP Customer
Joined: 17 May 2003 Posts: 5
|
Posted: 12-21-2005 07:46 AM Post subject: Multiple Servers at home |
|
|
I have 2 servers at home. My domain is at changeip because I do not have static IP. I want to expose one of my systems to the internet.
currently my DDNS entries look like
mydomain.org x.x.x.x
smtp.mydomain.org x.x.x.x
www.mydomain.org x.x.x.x
All of these x.x.x.x refer to the same IP address (whatever my current IP is)
I have a network at home that has several workstations that get their IPs from smtp.mydomain.org (locally known as 192.168.2.1) through DHCP (they are on 192.168.2.y). There is also another server at 192.168.2.50 (fixed locally). I cannot see this from the outside. I want to see that server from the outside. How can I put some of my work on 192.168.2.1 and some on 192.168.2.50. I would like the outside to know of the first system as smtp.mydomain.org and the second system (currently invisible) as fserver.mydomain.org. These systems are both Linux systems. The one that I can see has a program named DNSMASQ running and also DHCP running. DNSMASQ is described as a DHCP server and a NAT server in its documentation. Thanks in advance
Wayne |
|
| Back to top |
|
 |
Dave Knill Junior Member
Joined: 12 Mar 2004 Posts: 8
|
Posted: 03-11-2006 05:58 AM Post subject: |
|
|
Wayne
Did you get this fixed? If not, I have an idea. Let me know.
Thanks
Dave |
|
| Back to top |
|
 |
wk5657 ChangeIP Customer
Joined: 17 May 2003 Posts: 5
|
Posted: 03-12-2006 08:42 AM Post subject: Re: |
|
|
[quote="Dave Knill"]Wayne
Did you get this fixed? If not, I have an idea. Let me know.
Thanks
Dave[/quote]
Haven't heard anything yet.
Wayne |
|
| Back to top |
|
 |
danm Junior Member
Joined: 20 Oct 2005 Posts: 15
|
Posted: 06-29-2006 03:49 PM Post subject: |
|
|
Since you're doing PAT, you can only do port forwarding in your router to specific hosts.
Assuming smtp.mydomain.org is using SMTP and fserver.mydomain.org is using HTTP, you would map
25 -> smtp.mydomain.org:25
80 -> fserver.mydomain.org:80
You could even map multiple servers like this:
8008 -> webserver1.mydomain.org:80
8080 -> webserver2.mydomain.org:80
It depends on your router how you do port forwarding. For DDNS, just set both host names in the same update set and have one of your servers update the records (one can be a CNAME of the other).
Dan |
|
| Back to top |
|
 |
|