From owner-freebsd-questions@FreeBSD.ORG Sat Apr 2 16:07:26 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8145916A4CE for ; Sat, 2 Apr 2005 16:07:26 +0000 (GMT) Received: from web54007.mail.yahoo.com (web54007.mail.yahoo.com [206.190.36.231]) by mx1.FreeBSD.org (Postfix) with SMTP id EB01543D45 for ; Sat, 2 Apr 2005 16:07:25 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 34048 invoked by uid 60001); 2 Apr 2005 16:07:25 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=A4zpzYNrlrdQsqdndGnBlUwZtCMs6BescWSzOw9P6DGHDXwLKZ4YokoUqUfo0tC/8vjrufvpMYJFTGnTrpENteajzg8t02vRFjqpBgyihkpnALercT0KA8v2oS0BqdWnMBlRfjhfqF/C8hHgun8dUGCsaKmD5c/TGx0kC6V8eaA= ; Message-ID: <20050402160725.34044.qmail@web54007.mail.yahoo.com> Received: from [147.46.44.181] by web54007.mail.yahoo.com via HTTP; Sat, 02 Apr 2005 08:07:25 PST Date: Sat, 2 Apr 2005 08:07:25 -0800 (PST) From: Rob To: FreeBSD questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: FreeBSD server behind router-NAT; how to configure sendmail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2005 16:07:26 -0000 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