From owner-freebsd-doc@freebsd.org Thu Oct 26 08:15:10 2017 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AEE62E41DF6 for ; Thu, 26 Oct 2017 08:15:10 +0000 (UTC) (envelope-from kirchrath@gmail.com) Received: from mail-yw0-x22c.google.com (mail-yw0-x22c.google.com [IPv6:2607:f8b0:4002:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7719570F13 for ; Thu, 26 Oct 2017 08:15:10 +0000 (UTC) (envelope-from kirchrath@gmail.com) Received: by mail-yw0-x22c.google.com with SMTP id y75so2236839ywg.0 for ; Thu, 26 Oct 2017 01:15:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ReC9OAbr5zW9rH+Z5/8lF87cSzs2pxs2rK6HN+xlWSI=; b=FtSzHAK/mESFkIzj9sTgklqHBw75ASBrhJGKE0RfU0+DaWUVn04jqd2lPYjLooCfFv nJPu6wv9Vqp+PSp2CI6+VYvWLAntfrPUmzbdWN1RZvI8O/XUE3+pRdRmdKJD3mVYQhoq +rOQoRVPZLJ10zIZpLA+2WFm2D+WrqSTPpGbnq5O4IjxKf71SLiaKlvCSupkBBdmKdU2 X3HS4W7wSBQNx5byYyOmpjtKCTigexGPX3E/WNzWGBnJTIRu9JVVmPuacs6hjaVSI5ZJ mwPXvL6UFMm31Y7fHyus3fNY5kYCXMLHzEqXrfTF+fa7OiHpF+rkdkcj/JCNFlKpgC5o NElQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ReC9OAbr5zW9rH+Z5/8lF87cSzs2pxs2rK6HN+xlWSI=; b=lONk1K5YbMRH0+eqXhXLWcuO8F5s0J6tdobkOkJ8ValJZxUoa9bxPDNZgg/IE2594D ZFYNSy0i5Uy/5uT4/p7ChkIOl7qez5UZIo6JghgAPKeGmm0+KzD3olM1ubk6BExbD7/G QOi0eD3mypqn+aSj7nqIgJU17vIDnv8O6t0KnZ0R8jGd7PwdSMD7Xv7fxWVYUGqdk3FZ 851+/51Iu7ywUIUfGNmIUbiL/t7WHfUPzi/si7fZOxjL16vul/Vm56FxBvlSH/UlrfMx kcyWwYD1icCLEya4WUF0LNfZQEYyr89QMcTOWnyb1vlPPzKDgf0WKl6hKy3JsbX1urI7 SR6A== X-Gm-Message-State: AMCzsaUP4PvrWgQvFcEx5QU800s/U4JmVj/Wi5fxE7AR+4Q/9zTmGBTu KpSfnBDMRdILlQIQA/OJZhZZqy63ZsIgxQihC1MDhw== X-Google-Smtp-Source: ABhQp+QCqBvfOW1zE5YwMxApJXftiPBVP/Q/rjqIT8Xslg9eW/utUZevuY+2AgWXvIeqQpZ5244yrrxyJ++4OT8Dq+E= X-Received: by 10.37.111.135 with SMTP id k129mr2809535ybc.507.1509005708913; Thu, 26 Oct 2017 01:15:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.80.205 with HTTP; Thu, 26 Oct 2017 01:15:01 -0700 (PDT) From: Chandra Kirchrath Date: Thu, 26 Oct 2017 10:15:01 +0200 Message-ID: Subject: 29.3.3.1 PF To: freebsd-doc@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 08:15:10 -0000 Hi! I am really new to FreeBSD and especially to networking so maybe it's just me but I think there is a little error in the documentation (chapter 29.3.3.1 - PF). - xl1 is the external Interface connected to the internet - xl0 is the external local interface This rule is comprehensible: pass from xl1:network to any port $ports keep state (I read it like `pass everything from the internet to the allowed ports`) The following confuses me: "For example, a $localnet macro could be defined as the network directly attached to the internal interface ($xl1:network)" - I thought $xl1 is the internet/external interface - why is it called $localnet? Is this an error in the documentation or did I miss something? Thank you in advance! Chandra BTW: The handbook is really great and easier to understand than the most of howtos out there.