From owner-freebsd-pf@FreeBSD.ORG Sat Nov 26 23:01:13 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 E5E04106566C for ; Sat, 26 Nov 2011 23:01:13 +0000 (UTC) (envelope-from mostafafaridi@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 9DFBE8FC12 for ; Sat, 26 Nov 2011 23:01:13 +0000 (UTC) Received: by vbbfr13 with SMTP id fr13so37520vbb.13 for ; Sat, 26 Nov 2011 15:01:13 -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 :content-type:content-transfer-encoding; bh=MJHTMIut0A6GgHxJdpMEJhg4eEKYaIOa1vmd9EJT3KQ=; b=b7nI/VbSomcwpeNOaE0jUV71JHK5LyGo+dC04d/FfR0mF7ixC7SMuxE0+wUkKhheIi Ym5I4AZTjQki73LNLJCKFColIaA1TWnIViwu2VZgvEV+AIXUDBGv7FfGLd3+3dtJbTQG JutnlnFskn4/5cqSjHG2SvSqe5TTTZcNcHuQM= Received: by 10.52.72.227 with SMTP id g3mr38527759vdv.10.1322346886178; Sat, 26 Nov 2011 14:34:46 -0800 (PST) Received: from [192.168.1.101] ([31.57.109.213]) by mx.google.com with ESMTPS id c7sm41122291vdh.12.2011.11.26.14.34.42 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 26 Nov 2011 14:34:45 -0800 (PST) Message-ID: <4ED19ADF.90409@gmail.com> Date: Sun, 27 Nov 2011 05:35:19 +0330 From: Gholam Mostafa Faridi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111108 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-pf@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 27 Nov 2011 01:40:00 +0000 Subject: 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: Sat, 26 Nov 2011 23:01:14 -0000 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