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 20th June 2012, 19:58
petersfreeman petersfreeman is offline
Junior Member
 
Join Date: Jun 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trying to get my DNS to work using ISPConfig

Goal

I want to run a web server and a mail server and need to have them reachable from the Internet.

Progress

I have registered my domain with Hover (Tucows)

I have the mail server working for users on my LAN, we can send and receive mail to each other with email addresses such as peter@musgravelanding.net and mary@musgravelanding.net.

Within the LAN, this only works if we use 192.168.241.80 as the server name in Thunderbird as the address to the POP Mail Server. If I use mail.musgravelanding.net, it fails. Likewise, for the outgoing server in Thunderbird, to reach the SMTP Mail Server, I have to use 192.168.241.80 instead of mail.musgravelanding.net

I went to my account on Hover (https://www.hover.com/domain/musgravelanding.net) and forwarded the domain to my WAN ip address (25.95.xxx.xxxx), used the NAT on the first router connected to my ISP (at my home) to forward port 80, 25 and 110 to my second router, which in turn has these ports open and forwards them to my server at 192.168.241.80.

I get some indication that packets are able to get to the server now, since now when I use my browser within my LAN with the address www.musgravelanding.net, it loads up the login screen for the internal web server on my router even though the router said that it would switch its port to 8080.

If I get someone from outside my LAN and out on the Internet to use their browser to use www.musgravelanding.net, nothing comes up. This is probably because my router connected to my ISP is trying to connect it to its internal web service which will not allow remote management.

That is another problem I have to solve.

When I change the thunderbird setup from 192.168.241.80 to mail.musgravelanding.net, and try to get mail sent from the Internet, I get from Thunderbird: Sending of password did not succeed. Mail server mail.musgravelanding.net responded: Invalid

It is possible that the router connected to my ISP is not properly forwarding requests to my second router.
  1. Can anyone help me with this?
  2. What tests can I do to find out what is happening?

Thanks,

Peter
Reply With Quote
Sponsored Links
  #2  
Old 21st June 2012, 20:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

So you use two routers? Do both routers use different subnets, or are both in the same subnet?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 22nd June 2012, 09:23
petersfreeman petersfreeman is offline
Junior Member
 
Join Date: Jun 2012
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by falko View Post
So you use two routers? Do both routers use different subnets, or are both in the same subnet?
Yes, I get access to the Internet wirelessly through a Rogers Rocket Hub (Netcomm 3G HSPA WiFi Router) that was supplied by my ISP. On the internet side, it has an actual IPAddress of 25.95.xxx.xxx, however my ISP connection has no reverse DNS, so when finding the IPAddress from the Internet it shows as 74.198.151.59.

I assume that I will have to approach my ISP and ask for a public IPAddress?

Regardless, I have setup my Domain forwarding using the 25.95.xxx.xxx address to test the system first.

This Netcomm Router creates a LAN on the 192.168.1.x subnet (255.255.255.0 mask). For extra security, my own LAN sits behind a Cisco Business Router where I have created a LAN using 192.168.241.x (255.255.255.0 mask). My server sits on this LAN with address 192.168.241.80.

From the viewpoint of the Netcomm Router, I have setup the Cisco Router to have a fixed address of 192.168.1.241. I have opened ports 80, 25 and 110 on both the Cisco Router and the Netcomm Router.

Tracing the route, outgoing packets from the server start at 192.168.241.80, go to the gateway part of the Cisco Router at 192.168.241.1 on one side, then 192.168.1.241 on the other side. From there they go to the gateway part of the Netcomm Router at 192.168.1.1 one one side, then 25.95.xxx.xxx on the other side and then out on to the Internet.

When I set the port on the Rocket Hub for HTTP traffic, I see the first screen. When I click apply/save I get the dialog box telling me that it is moving the port for the Netcomm Router's internal web server from 80 to 8080 (See attachments).

I would expect that it is moving the Netcomm Router's internal web server aside so incoming HTTP traffice would be forwarded through to 192.168.1.241.

Any clues?

Thanks Falko
Attached Images
  
Reply With Quote
Reply

Bookmarks

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
SquirrelMail login not working glenneh Installation/Configuration 13 9th April 2011 21:01
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 23:47
DNS and ISPConfig atjensen11 Installation/Configuration 1 19th February 2009 11:48
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 20:51
FC4 Setup DNS and ISPCONFIG issues The General Installation/Configuration 7 15th May 2006 10:45


All times are GMT +2. The time now is 21:34.


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