From owner-freebsd-questions@FreeBSD.ORG Wed Jul 28 17:49:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42363106564A for ; Wed, 28 Jul 2010 17:49:14 +0000 (UTC) (envelope-from dadans@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id EB1918FC18 for ; Wed, 28 Jul 2010 17:49:13 +0000 (UTC) Received: by vws7 with SMTP id 7so5376702vws.13 for ; Wed, 28 Jul 2010 10:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=bwYtsYVjTYe1xu2XpeMYUHxHbc4lXqBeDQjhjXTv+bU=; b=Xp5GqqAHSMYBM1Av1AhTLgLSdMBk75dVV6QSj2Nnrb/uTge5og2BTV8Z7A1XrNLtCA F8JKwOABvECE8aeWSpnnldgnUbJ4kQVmmGtuRObtsLeiGaMFDFDY31RDJJ4iYesh4i8P A997py1HT8s8bL87tn5vC1hmUAO1ratBKJEDk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=QSNUc806SEFc+iHLcqjAaQ1DDbQfim+hyIKdeBxtbkfAolRCrHOJQpfkP0KDl+2N8G cMlPhvWEN4F9mVPgsmZsfPiDWgGS9Z+T8S3qExqYxM4kYH4s0+iCjTr2ga/0WyVeOcDD 6SJDKuaIw5XGSu11kZahh/FvOjp2uM1+I6qOM= Received: by 10.220.88.152 with SMTP id a24mr6365816vcm.269.1280339353322; Wed, 28 Jul 2010 10:49:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.162.80 with HTTP; Wed, 28 Jul 2010 10:48:52 -0700 (PDT) In-Reply-To: References: From: DadAN Date: Wed, 28 Jul 2010 19:48:52 +0200 Message-ID: To: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-questions@freebsd.org" Subject: Re: Wifi AP behind FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2010 17:49:14 -0000 On Tue, Jul 20, 2010 at 9:56 PM, Erik N=F8rgaard wr= ote: > You need to enable routing in the kernel, I've forgotten the kernel varia= ble but do sysctl -a | grep rout > > Enable routing setting the variable to 1. > > Since you have a private network connecting to the Internet you need to c= onfigure nat. There are different solutions, I prefer packet filter. Hello, I wanna just ask if I really need setup nat? Because I think that it will by enought with nat by wifi router (dlink) connected to second nic ? And setup routing between nic's?