From owner-freebsd-questions@FreeBSD.ORG Mon Feb 2 02:28:25 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 E0E8F16A4CE for ; Mon, 2 Feb 2004 02:28:25 -0800 (PST) Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33AC843D2F for ; Mon, 2 Feb 2004 02:28:23 -0800 (PST) (envelope-from nicolas.gafgo@bredband.net) Received: ([213.113.37.111] [213.113.37.111]) by mxfep02.bredband.com with ESMTP <20040202102821.TPX16990.mxfep02.bredband.com@c-6f2571d5.11604-1-64736c12.cust.bredbandsbolaget.se> for ; Mon, 2 Feb 2004 11:28:21 +0100 From: Nicolas To: freebsd-questions@freebsd.org Date: Mon, 2 Feb 2004 11:27:58 +0100 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402021127.58990.nicolas.gafgo@bredband.net> Subject: Newbie firewall 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: Mon, 02 Feb 2004 10:28:26 -0000 Hello. I want to use FreeBSD 5.2 on a standalone deskto I am trying to put up a firewall. For now i have been trying to use the client version in rc.firewall. I have a LAN connection with dynamic ip adress. How do I get the rc.firewall to know that I have dynamic adresses? It worked yesterday but when I turned my computer on today the ip adress had changed. The only changes I made in rc.firewall client was to put in my net: mask: ip: I made some changes also to rc.conf. It looks like this: firewall_enable="YES" firewall_script="/etc/rc.firewall" firewall_type="client" hostname="Moak.prisma.fbsd" ifconfig_sis0="DHCP" kern_securelevel_enable="NO" keymap="swedish.cp850" linux_enable="YES" lpd_enable="YES" moused_enable="YES" named_enable="YES" network_interfaces="auto" nfs_reserved_port_only="YES" router_enable="NO" sendmail_enable="YES" sendmail_flags="-bd" sendmail_outbound_enable="NO" sendmail_submit_enable="NO" sendmail_msp_queue_enable="NO" sshd_enable="YES" syslogd_enable="YES" usbd_enable="YES" Hope that somebody wants to waste some time on my question. Many thanks Nicolas.