From owner-freebsd-net@FreeBSD.ORG Mon Mar 10 14:20:03 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 93E923FB for ; Mon, 10 Mar 2014 14:20:03 +0000 (UTC) Received: from mail-pb0-x230.google.com (mail-pb0-x230.google.com [IPv6:2607:f8b0:400e:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 67D5BE1B for ; Mon, 10 Mar 2014 14:20:03 +0000 (UTC) Received: by mail-pb0-f48.google.com with SMTP id md12so7341249pbc.35 for ; Mon, 10 Mar 2014 07:20:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Fya5DgDjkT0b34aYSfkJcGEL4k6wTnyIzkaiU4D66NA=; b=aKZn/zlB4x7MTZ1FO2irIn4T9iEHF1nsz9mx73oSs4C7IRq3+7eWvK2tHUPP/PiuQI iOI/h/soV6KbhiIVcPI2mhKe++CDqTyOS+ZjgYb+jefcmOUlC1tlQH46IAr2B1gJN2f6 5/tBwNCgwBfF4hN+PaL39TO4lL0nXVdDF2P4YCxDuo06+se/3t3uKKQiaVO+9Fur5kDF zzpGTVJ6/daWnMu4yAPfyFf/hBQILe7pN0fNYbEqemzUr7ldTkNrbdGtO2oFqxbzff61 aior7N4NIJxSZdOGyKjT9tn2NAQsT0z8hH2j0FPQExPhtYAzK2mLL4K/Z9OrXKSke8MV eyZg== MIME-Version: 1.0 X-Received: by 10.66.217.133 with SMTP id oy5mr41254005pac.46.1394461201748; Mon, 10 Mar 2014 07:20:01 -0700 (PDT) Sender: ermal.luci@gmail.com Received: by 10.70.6.36 with HTTP; Mon, 10 Mar 2014 07:20:01 -0700 (PDT) In-Reply-To: <9C40270E-18E0-4993-B7C5-BD8B5A24C95D@dataix.net> References: <20140309231829.GG32089@funkthat.com> <9C40270E-18E0-4993-B7C5-BD8B5A24C95D@dataix.net> Date: Mon, 10 Mar 2014 09:20:01 -0500 X-Google-Sender-Auth: 8yIPAFnr3zR67SDBFEAAiXVVKHs Message-ID: Subject: Re: Using pf.conf with public access points. From: =?ISO-8859-1?Q?Ermal_Lu=E7i?= To: Jason Hellenthal Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Joe Nosay , John-Mark Gurney , "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2014 14:20:03 -0000 Usually pf(4) does support having dynamic ips inside its ruleset. For example just putting the interface name as address or putting $iface:0 for first address etc... Take a look an man page of pf.conf and search for the string 'Interface names and interface group names can' On Sun, Mar 9, 2014 at 11:27 PM, Jason Hellenthal wrote: > You'll want to not use up addresses in your pf.conf > > Block on default and then open up by definition of ports instead. Forget > the whole IPAddr thing and treat this as a roaming client firewall. > > > -- > Jason Hellenthal > Voice: 95.30.17.6/616 > JJH48-ARIN > > > On Mar 9, 2014, at 19:18, John-Mark Gurney wrote: > > > > Joe Nosay wrote this message on Sun, Mar 09, 2014 at 15:36 -0400: > >> 2. How do I compensate for the use of public access points when the IP > >> addresses will always be different? > > > > it doesn't appear that pf has this ability, but it looks like ipfw > > has this, from ipfw(8): > > me matches any IP address configured on an interface in > the > > system. > > > > So, maybe switching to ipfw might be an option.. > > > > -- > > John-Mark Gurney Voice: +1 415 225 5579 > > > > "All that I will do, has been done, All that I have, has not." > > _______________________________________________ > > freebsd-net@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-net > > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- Ermal