Koozali.org: home of the SME Server

having DNS on SME behind NAT router

Damir Imamovic

having DNS on SME behind NAT router
« on: November 01, 2002, 04:45:57 PM »
Hello

I have one IP address from my ISP and it is assignet to serial port on my router. I do have NAT on the router and 25, 80, 23 ports forwarded to my SME server. I need to know is it possible to run DNS server on SME in this case and how? I have to resolve this until Monday :-)

Thank you

damiri

Ruben

Re: having DNS on SME behind NAT router
« Reply #1 on: November 01, 2002, 07:42:05 PM »
I am running in the configuration you describe. Configure your router to use the local ip adress of the e-smith. Use the e-smith as a server only with the local ip adress of the adsl router as a gateway, leave dns in blank to force e-smith use their own DNS. I don't know whether I explained it well, but didn't took much time to me to sort it out.

regards,

Ruben

Damir Imamovic

Re: having DNS on SME behind NAT router
« Reply #2 on: November 01, 2002, 08:37:00 PM »
In your configuration you are able to receive mail and have web server on SME?
I'm running 5.5 version and there is local, remote, self way of registering hostnames. Which method did you use?

Also I must say that this is my first SME installation :-))... So please if you can shed some light on this how to setup, I will really appriciate that ...


best

damiri

Ruben

Re: having DNS on SME behind NAT router
« Reply #3 on: November 02, 2002, 02:20:24 AM »
Damir,

I am not an expert at e-smith neiher Linux, but assigning hostnames is independent to being able to receive mail and serve web pages from your e-smith server. With your adsl router configured to pass http/pop/smtp/ssl ports to e-smith you should be able to serve and receive emails from outside correctly. In case you have several domain names that point to the public IP assigned at the adslrouter then you will have to create virtual domains at the e-smith.

regards,

Ruben

Damir Imamovic

Re: having DNS on SME behind NAT router
« Reply #4 on: November 02, 2002, 06:39:54 PM »
Hello

I do have only one ETH int on SME and IP is 192.168.1.10. This is also DNS server for my domain. Is there anything what neeed to changed manually in DNS configuration in order to receive mail?

best

damir

Ruben

Re: having DNS on SME behind NAT router
« Reply #5 on: November 04, 2002, 07:15:56 PM »
Damir,

To receive email you don't have to change anything in the DNS configuration.

regards,

Ruben