From owner-freebsd-net@FreeBSD.ORG Tue Mar 1 08:39:51 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FCE7106564A for ; Tue, 1 Mar 2011 08:39:51 +0000 (UTC) (envelope-from ganbold@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 E41BE8FC15 for ; Tue, 1 Mar 2011 08:39:50 +0000 (UTC) Received: by vws16 with SMTP id 16so4566322vws.13 for ; Tue, 01 Mar 2011 00:39:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type; bh=y0zMVjB7zbytEszbtCLositjAQfQgACVln9t1SSf8rU=; b=JhF9iv9PYE/TnGHfXcGw62jx+KajmRtp65Nn2ixplbVTbpExILe1PsUFXm9cQi1Vg/ urc2SPysfLKvCESllB3U6KPpNxGuxpeA8GbYN6bnWaljKGKN3XhEBrvgEjLusUrVxE/8 Ejki7Sq8ccEXyAi6auFKh2MoolcvapMi86iaE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=Xb0qmUnH9OKTNkM2DB0eISuZPeQ0uB08lDbaokxVoMjRgpJBu/e2mYpa8rvQgKPz5h QBwHNRtiiytS0LXMyL40J5HwU1y0UKtLwhGFm3RXtnESYMIjNhmva7U1svJiA3vj5nma msFBM/shn7q5yvE4SPUfqb4xG6awmRpeE0pQ8= MIME-Version: 1.0 Received: by 10.52.67.170 with SMTP id o10mr6171870vdt.197.1298967359402; Tue, 01 Mar 2011 00:15:59 -0800 (PST) Received: by 10.220.59.200 with HTTP; Tue, 1 Mar 2011 00:15:59 -0800 (PST) Date: Tue, 1 Mar 2011 16:15:59 +0800 Message-ID: From: Ganbold Tsagaankhuu To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: mav@freebsd.org Subject: mpd + pf binat X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 08:39:51 -0000 Hi, One of my friends are trying to setup pppoe server with mpd and they want to give to set of users public IP dynamically and plus traffic shaping. However public IPs are limited compared to pppoe clients and they want have some kind of dynamic NAT (dynamic public IP per number of clients). Is it possible to do that with mpd + pf binat in one box? I was thinking about something like following: pppoe clients -> mpd + pf binat + altq/ng_car server -> Internet Any ideas and recommendations? thanks, Ganbold