From owner-freebsd-pf@FreeBSD.ORG Sun Nov 27 17:58:17 2011 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA8AA1065670 for ; Sun, 27 Nov 2011 17:58:17 +0000 (UTC) (envelope-from jinhitman@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5955E8FC0C for ; Sun, 27 Nov 2011 17:58:17 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so9031588bkb.13 for ; Sun, 27 Nov 2011 09:58:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=NPU6yg1sP75v0blacMat3R5bH/29g1YG5WTWx3VqV14=; b=Dql2UM+WTsfgZ1j5+Ee5Z86oBiHWDkXzvv4UmB/0G3owUEw78sI9m80hPl734qDcxC qkkFcKcW9SFcPguR+2esYtJWjgcTiX5KvMwyElldo7yde0JSkxC8gMPNXVhGBKp3ndUu fniXK6C566oEpVU+6NJQnCk5MzZY0YBAGVHMQ= Received: by 10.204.153.195 with SMTP id l3mr6485457bkw.132.1322414942698; Sun, 27 Nov 2011 09:29:02 -0800 (PST) Received: from debi.nexenta.local ([178.233.26.43]) by mx.google.com with ESMTPS id r5sm36268245fam.4.2011.11.27.09.29.01 (version=SSLv3 cipher=OTHER); Sun, 27 Nov 2011 09:29:01 -0800 (PST) Message-ID: <4ED2735A.5020406@gmail.com> Date: Sun, 27 Nov 2011 19:28:58 +0200 From: Fatal Error User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-pf@freebsd.org References: <4ED19ADF.90409@gmail.com> In-Reply-To: <4ED19ADF.90409@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: one ADSL connection with 10 static IPs and PF X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2011 17:58:17 -0000 On 11/27/2011 04:05 AM, Gholam Mostafa Faridi wrote: > we had Leased line before and we had 27 static IPs before , but our > ISP do not support is very well , and we change our ISP and we buy > ADSL connection with 10 static IPs , my NAT Server is OpenBSD 5 , and > I will change it FreeBSD 8.2 . > Can I do this with FreeBSD 8.2 and PF ? Do I have to add some options > in Kernel or no ? > before we change our connection type from Leased line to ADSL , we > have cisco 800 router and Leased line connect to cisco 800 and after > that we connect it to our NAT server , every thing was good and it > work like charm , but after change connection type , ISP give us > Zyxcel ADSL modem with 10 startic IP , and our IPS do not say what we > must do with this ADSL modem and these IPs. > we do not know , which mode we must use in ADSL modem , PPoE or bridge > ? we do not know use PPoE or Bridge mode with ADSL modem and our ISP > do not give us enough information , if I want make NAT server with PF > with mode I must set in ADSL modem ? PPoE or bridge ? > we do not know how we must config our NAT server , > we do not know we need ppp or no ? > we do not konw how we must config PF . > we have to use 10 static IPs and we can not use one static IP , > because of our policy . > which options , I must add to my PF.conf > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" Hi. I had same problem with Zyxcel Brand Adsl Modem two weeks ago. I did not find true options how to use bridge mode option with PPPoE Protocol on Zyxcel P-600 with same time and together. Because the Zyxel P-600 doesn't support Bridge Mode Option on PPPoE. Than I choosed PPPoE. At least this time I have a reliable Adsl connection. You have two option. -Change adsl modem another one which support PPPoE and Bridge Mode Options on the same time (and together). This option is easy and preferably. -Choose the PPPoE mode. Make more than one virtual interfaces on the OpenBSD, and write your own rules for nat. If you need to further information about virtual interfaces, fallow below link. http://www.openbsd.org/faq/faq6.html#Setup.aliases