Networking Forums

Networking Forums > Computer Networking > Linux Networking > DNS setting behind NAT router

Reply
Thread Tools Display Modes

DNS setting behind NAT router

 
 
Joseph
Guest
Posts: n/a

 
      08-13-2005, 01:08 PM
I don't know if it's possible to setup my sendmail working under Fedora
Core 3.

I have a domain name with a fixed IP. I have a wireless access point
with NAT activated between my LAN and internet. I am not going to
involve with the wireless part but just connect my linux box to the NAT
router which has DHCP server running.

My problem is how do I configure BIND and Sendmail to make Linux
working as if it was directly connected to Internet? Can I just forward
port 53, 25, 110 to the Linux box and keep all the public IP setting
unchanged and just add 192.168.x.x setting to BIND?

If it is not possible, I might have to connect Linux to internet
directly.

 
Reply With Quote
 
 
 
 
Antoine EMERIT
Guest
Posts: n/a

 
      08-15-2005, 10:19 AM
"Joseph" <(E-Mail Removed)> écrivait news:1123938535.485007.152090
@g43g2000cwa.googlegroups.com:

> I don't know if it's possible to setup my sendmail working under Fedora
> Core 3.
>
> I have a domain name with a fixed IP. I have a wireless access point
> with NAT activated between my LAN and internet. I am not going to
> involve with the wireless part but just connect my linux box to the NAT
> router which has DHCP server running.
>
> My problem is how do I configure BIND and Sendmail to make Linux
> working as if it was directly connected to Internet? Can I just forward
> port 53, 25, 110 to the Linux box and keep all the public IP setting
> unchanged and just add 192.168.x.x setting to BIND?


Yes, forwards the port udp&tcp/53, tcp/25 and tcp/110 from the firewall
public access to the linux box.

But take care to configure your sendmail to disable open mail relay.

For the pop access (tcp/110), I suggest you to setup an ssl access only
(tcp/990 if I remenber).


And in your bind configuration, you should enter your Internet public ip
for the external service (i.e.: smtp.your_domain should point to your
public ip, the MX record sould point to your public access too).

In your internal LAN you should use the local server ip address (smtp and
pop server=192.xxx on your lan mail client software).


Regards


 
Reply With Quote
 
Raqueeb Hassan
Guest
Posts: n/a

 
      08-15-2005, 03:13 PM
> Yes, forwards the port udp&tcp/53, tcp/25 and tcp/110 from the firewall
> public access to the linux box.



Antoine EMERIT, Nice reply. What I would like to add ... it also
depends on the availibilty of the link and the bandwidth to handle the
external mails to reach this smtp host. He might like to keep the mails
to ISP reliable mailhost where all his aliases to be forwarded to a
single account and "fetchmailed" to localhost later on. Well, it needs
a special configuration in ISP's mx record.

--
Raqueeb Hassan
Bangladesh

 
Reply With Quote
 
Joseph
Guest
Posts: n/a

 
      08-15-2005, 07:14 PM
Antoine EMERIT 寫�:

> "Joseph" <(E-Mail Removed)> écrivait news:1123938535.485007.152090
> @g43g2000cwa.googlegroups.com:
>
> > I don't know if it's possible to setup my sendmail working under Fedora
> > Core 3.
> >
> > I have a domain name with a fixed IP. I have a wireless access point
> > with NAT activated between my LAN and internet. I am not going to
> > involve with the wireless part but just connect my linux box to the NAT
> > router which has DHCP server running.
> >
> > My problem is how do I configure BIND and Sendmail to make Linux
> > working as if it was directly connected to Internet? Can I just forward
> > port 53, 25, 110 to the Linux box and keep all the public IP setting
> > unchanged and just add 192.168.x.x setting to BIND?

>
> Yes, forwards the port udp&tcp/53, tcp/25 and tcp/110 from the firewall
> public access to the linux box.
>
> But take care to configure your sendmail to disable open mail relay.
>
> For the pop access (tcp/110), I suggest you to setup an ssl access only
> (tcp/990 if I remenber).
>
>
> And in your bind configuration, you should enter your Internet public ip
> for the external service (i.e.: smtp.your_domain should point to your
> public ip, the MX record sould point to your public access too).
>
> In your internal LAN you should use the local server ip address (smtp and
> pop server=192.xxx on your lan mail client software).
>
>
> Regards


Thank you Antoine EMERIT! Your answer made me feel confident to march
to next step. Thanks for the tip you provided, too.

Joseph

 
Reply With Quote
 
 
 
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a trick to setting up a wireless router behind a router? Big_Al Wireless Networks 6 10-24-2008 09:03 AM
Setting up a VPN through a router Colin O'Keeffe Linux Networking 6 07-13-2008 02:45 PM
setting up a router kevincullen1968@hotmail.com Wireless Internet 2 03-31-2008 12:16 AM
Setting up an ADSL modem router with a wrielss router Charlie3110 Wireless Networks 0 04-11-2006 02:04 PM
setting up router Radu Bogdan Mare Linux Networking 4 02-04-2004 07:19 AM



1 2 3 4 5 6 7 8 9 10 11