From owner-freebsd-questions@FreeBSD.ORG Wed Jan 28 04:22:40 2004 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 2739516A4CE for ; Wed, 28 Jan 2004 04:22:40 -0800 (PST) Received: from mail.valuehost.co.uk (mail.valuehost.co.uk [62.25.99.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 64D2943D1F for ; Wed, 28 Jan 2004 04:22:37 -0800 (PST) (envelope-from bjorn@eikeland.info) Received: (qmail 68928 invoked by uid 89); 28 Jan 2004 12:22:27 +0000 Received: from unknown (HELO beer) (bjorn@eikeland.info@80.202.106.8) by mail.valuehost.co.uk with SMTP; 28 Jan 2004 12:22:27 +0000 Date: Wed, 28 Jan 2004 13:22:53 +0100 To: Marwan Sultan References: <20040128080221.M4472@kifco.net> From: Bjorn Eikeland Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20040128080221.M4472@kifco.net> User-Agent: Opera7.21/Win32 M2 build 3218 cc: "freebsd-questions@freebsd.org" Subject: Re: Dynamic Router IP. 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: Wed, 28 Jan 2004 12:22:40 -0000 På Wed, 28 Jan 2004 11:10:25 +0300, skrev Marwan Sultan : > > Hello everyone, > > I have FreeBSD 4.8-R as a NATd ipfw enable behind a DSL router. > The router calling the internet and giving the connection 2the bsd > box. > BSD box does the rest for my LAN. > > I redirect the port 22 from the router to my FreeBSD LAN box. > 192.168.1.1 > > The problem is DSL each time calls the internet has a new 'real IP' > so I cannot know the ip IF im at home, then i cannot access the box > from > outside the LAN. > > Question is: > Is there a way to configure the FreeBSD box to send an auto email for > me each time the router has a new 'real IP' ? > > For sure by somehow the BSD box knows about the new ip for router. > > Thank you very much in advance. > > > -- > Marwan Sultan Why send a email, when you can go to www.no-ip.com and register yourself a dynamic dns entry, and thus you can alwaus access your freeBSD box using marwan.no-ip.com or something similar. After registering you just need to install a daemon that automatically updates the ddns every now and then. I use this for the dial up gateway at home so I can check up on now the box is holding up with in its harsh enviornment (i.e. my brothers) - and it works great. hth