From owner-freebsd-security@FreeBSD.ORG Mon Aug 18 04:53:04 2003 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4081537B401 for ; Mon, 18 Aug 2003 04:53:04 -0700 (PDT) Received: from kremilek.gyrec.cz (gyrec.cz [195.113.191.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E99343F93 for ; Mon, 18 Aug 2003 04:53:03 -0700 (PDT) (envelope-from xskoba1@gyrec.cz) Received: from xskoba1 (helo=localhost) by kremilek.gyrec.cz with local-esmtp (Exim 3.35 #1 (Debian)) id 19oiHm-0006bW-00 for ; Mon, 18 Aug 2003 13:34:54 +0200 Date: Mon, 18 Aug 2003 13:34:54 +0200 (CEST) From: xskoba1@kremilek.gyrec.cz To: freebsd-security@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Subject: question about routing, firewall, natd and bridge X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Security issues [members-only posting] List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2003 11:53:04 -0000 Hallo there, I had to change the provider. And after that my public IP adress are routed straight through FreeBSD Box. What is it best way to do it? I personally done it the way, where exist the localnet alias for every interface... eg.. ifconfig_ed0="inet 62.168.40.188 netmask 255.255.255.252 broadcast 62.168.40.191" after that there is local interface 192.168.1.1/255 and it's alias 172.16.0.1/255 and then route add -host 62.168.40.190 172.16.0.251 #it is an public and local ip adress of that host... but /var/log/kern.log is still clamining a warning arplookup 62.168.40.190 failed: host is no on local network... is it the correct way to do a route (especiall if I want to have a firewall with ipfw,natd and bridge or not?) your sincerely Karel Rous