From owner-freebsd-pf@FreeBSD.ORG Sun Nov 27 21:52:50 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 112F5106566B for ; Sun, 27 Nov 2011 21:52:50 +0000 (UTC) (envelope-from mostafafaridi@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 814CD8FC13 for ; Sun, 27 Nov 2011 21:52:49 +0000 (UTC) Received: by lahv2 with SMTP id v2so640411lah.13 for ; Sun, 27 Nov 2011 13:52:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LM6ZVZiYceUG4lxOBhg+1pOogeP0OtJwPc+Ndebc/Ns=; b=MY71qI9UWQF7ygxKM7q2XgSDD0q0YCYzX+TIjn2JfRO+inOPIWK/74kbU0JEON/Qh2 OV7jOByaElwZMlGHBmULdXCY/S49tC9tOxd13XBGsWnARz5O2v6g3hm98yXD8/bRuSi5 Mog10IdJgxJ1cTdgsdBOzQu3iqyoRX+srEw2w= MIME-Version: 1.0 Received: by 10.152.109.198 with SMTP id hu6mr26808283lab.11.1322430767939; Sun, 27 Nov 2011 13:52:47 -0800 (PST) Received: by 10.152.23.137 with HTTP; Sun, 27 Nov 2011 13:52:47 -0800 (PST) Received: by 10.152.23.137 with HTTP; Sun, 27 Nov 2011 13:52:47 -0800 (PST) In-Reply-To: <4ED2735A.5020406@gmail.com> References: <4ED19ADF.90409@gmail.com> <4ED2735A.5020406@gmail.com> Date: Mon, 28 Nov 2011 01:22:47 +0330 Message-ID: From: Mostaf Faridi To: Fatal Error Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-pf@freebsd.org 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 21:52:50 -0000 Thanks all, So I must choose PPoe, for this problem, but what I must do when I want use all ten static IPs? On Nov 27, 2011 9:28 PM, "Fatal Error" wrote: > 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 > ______________________________**_________________ > 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 > " >