question about dns, servers, and my client machines.

Discussion in 'Server Operation' started by meomike2000, Jan 14, 2009.

  1. meomike2000

    meomike2000 New Member

    say i were to only have one static ip address from my isp and it was pointed at my dns server. and i also had 3 other servers, but with internal static addresses, one for my web pages,1 for email, and one as a dhcp server for my internal clients machines.

    every thing works great from the internal network. i can get my web pages and log into my email, dhcp works great.

    the problem is that from the outside world i can only access by dns server with the ip from my isp. i used bind9 for my dns. also my clients can not access the internet or any outside networks.

    can this work or do i have to get ip address from my isp for all 3 of my servers.

    any help or a point in the right direction would be great.....

    thanks mike.

    also i am running ubuntu 8.04.1 server.
     
    Last edited: Jan 14, 2009
  2. zcworld

    zcworld New Member

    personal i would have the WWW/DNS/Email on one box
    and make sure the ports on your router are being forward to the right PC IP address
    and the firewalll is have them ports open for the services that are on each box

    than try a site like canyouseeme.org
    and do an port test to see if ur port 80 / 25 / 110 / 53 (u said ur DNS is working outside)
     
  3. meomike2000

    meomike2000 New Member

    yes my dns is visible from outside. i only ask because of network growth in the future, i currently have a setup with all services on one machine. but i still have an issue with my client machines, the desktops we use, i have no router setup on my network. i currently use connection sharing through the server. but i don't know that this is the best way.

    i really was just wondering if the above scenario was possible, that is all.

    thanks mike
     
  4. marpada

    marpada New Member

    If you don't have a dedicated router (linksys, cisco, etc) but a Linux server working as a router, you have to set up port-forwarding wit iptables. This way you can "publish" sereral services using just one public IP.

    <YourPublicIP>:80 -----> <Server1>:80
    <YourPublicIP>:110 -----> <Server1>:110

    and so

    You can take a look at this guides

    http://www.howtoforge.com/nat-gateway-iptables-port-forwarding-dns-and-dhcp-setup-ubuntu-8.10-server
    http://www.debian-administration.org/articles/73
    ________
    Digital volcano vaporizer for under 200.00
     
    Last edited: Mar 30, 2011
  5. meomike2000

    meomike2000 New Member

    thank you very much, that is the info that i have been looking for!!!!!!!!

    mike
     
  6. marpada

    marpada New Member

    Last edited: May 13, 2011

Share This Page