Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Apr 2005 08:07:25 -0800 (PST)
From:      Rob <spamrefuse@yahoo.com>
To:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   FreeBSD server behind router-NAT; how to configure sendmail?
Message-ID:  <20050402160725.34044.qmail@web54007.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help

Hi,

My ISP provides me with a fixed IP address and a
registered hostname.

I use a Sitecom DC-207 that serves as a plain router,
NAT and 4-port switch, to connect three Windows PCs
and one FreeBSD PC simultaneously to the internet.

The router gets the fixed IP address, whereas my
FreeBSD system gets IP 192.168.123.1 with a fake
hostname.

The router is configured to redirect the usual TCP/IP
server ports to the FreeBSD PC (e.g. ports 22, 25, 80
etc.), which makes the FreeBSD PC a kind of virtual
server for my fixed IP address.

One of the problems I encounter is this:
Sendmail on the FreeBSD PC cannot deliver email,
because there seems to be a DNS issue, because the
FreeBSD PC does not have an official IP & hostname.

How do I configure my FreeBSD PC so, that sendmail
thinks the PC has the official IP address/hostname
provided by my ISP, which is actually used by the
router?
Or should I follow a different configuration scheme
for achieving these goals?

Thanks,
Rob.


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050402160725.34044.qmail>