Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th January 2009, 23:31
meomike2000 meomike2000 is offline
Member
 
Join Date: Apr 2007
Posts: 39
Thanks: 14
Thanked 0 Times in 0 Posts
Question question about dns, servers, and my client machines.

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 by meomike2000; 14th January 2009 at 23:39. Reason: added info
Reply With Quote
Sponsored Links
  #2  
Old 15th January 2009, 04:51
zcworld zcworld is offline
Senior Member
 
Join Date: Jul 2006
Location: South Australia
Posts: 329
Thanks: 2
Thanked 37 Times in 37 Posts
Send a message via MSN to zcworld Send a message via Skype™ to zcworld
Default

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)
__________________
Shane Ebert :: Facebok
Reply With Quote
The Following User Says Thank You to zcworld For This Useful Post:
meomike2000 (17th January 2009)
  #3  
Old 15th January 2009, 18:56
meomike2000 meomike2000 is offline
Member
 
Join Date: Apr 2007
Posts: 39
Thanks: 14
Thanked 0 Times in 0 Posts
Question

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
Reply With Quote
  #4  
Old 15th January 2009, 20:06
marpada marpada is offline
Senior Member
 
Join Date: Sep 2008
Posts: 139
Thanks: 2
Thanked 14 Times in 14 Posts
Default

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-gatewa...tu-8.10-server
http://www.debian-administration.org/articles/73
________
Digital volcano vaporizer for under 200.00

Last edited by marpada; 30th March 2011 at 01:04.
Reply With Quote
The Following User Says Thank You to marpada For This Useful Post:
meomike2000 (16th January 2009)
  #5  
Old 16th January 2009, 03:17
meomike2000 meomike2000 is offline
Member
 
Join Date: Apr 2007
Posts: 39
Thanks: 14
Thanked 0 Times in 0 Posts
Smile

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

mike
Reply With Quote
  #6  
Old 16th January 2009, 19:19
marpada marpada is offline
Senior Member
 
Join Date: Sep 2008
Posts: 139
Thanks: 2
Thanked 14 Times in 14 Posts
 
Default

You'd better guess zcworld who first gave the correct solution
________
Fucktibe
________
Avandia Class Action Lawsuit

Last edited by marpada; 13th May 2011 at 02:05.
Reply With Quote
Reply

Bookmarks

Tags
dns, networking

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.