From owner-freebsd-net@freebsd.org Thu Mar 16 06:15:27 2017 Return-Path: Delivered-To: freebsd-net@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 5BE6DD0E649 for ; Thu, 16 Mar 2017 06:15:27 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (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 2897D1DB8 for ; Thu, 16 Mar 2017 06:15:27 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: by mail-it0-x22a.google.com with SMTP id g138so33857799itb.0 for ; Wed, 15 Mar 2017 23:15:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=CJYafF2JvSnWT0L8YYrvUhXJUjFT9fMoY878jr/Cjzk=; b=cf816xYLddLOXLjowyV2Y5Y2+ZislPf6f2Q/ph4WUwKMEevvfyf2jqT1UQ0RhyyTx2 G2BDSEgxhrxT2jZZh+jPUoUE97IUaHUCcbbHqhT8IWor3wL1z6A2QE/ZQQn6EIaXGM6n sZocq2rHurJk488W9TSc9qiWXLZVnm4b/o5weh3SUP/HKxFn6US7IQfIXJOcMy48MqTs pSrr9gXcSH2ivxvF09ZJLeLGqDpV8GffsQMLUI6Jy36/lm7d7/yj6aBlPm1Njjv1uqew kmYOVhh8BWqVH5TA0LyHuJuLIC5Lzyn1wOf8qu+efWWfKQ7K4xZnYL/tkJkEdK7M38xE 9Tvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=CJYafF2JvSnWT0L8YYrvUhXJUjFT9fMoY878jr/Cjzk=; b=MVneZQn3TF53bsB/nbts1hlCe0ipd1tP/mWjbZ0uyY5g64ZRCfm0KbqTdmZzv52LGT Tt8qlQpcVsDhZ3SwKqJp7j82FpjcyVKA7UVx550CPorcPoxFhnlUMpdKMZ2poDW8hkFq bp34bOxLBzzgKwm2FX1Oyi8CBlGbTPGewPSTzM8rvqUm2CglKTKdhd1KyOLMiQ/aa+Yq V/r7lUpBWzQxawCX3PCArRX8a+tEdu/RIh0HFOX2//ekEDD25GWY6t+t9IxWllm2oZud LQ8bGORAj+/ow8ZnmKHwsjVggxdH+uCwB0YDuWzHxUTVZlO1eRuaS6qzANBlSZbpdTWV fqcA== X-Gm-Message-State: AFeK/H1SqxjdLZniy8YPssWvsqw9yWOwuC/zZjKVmK/XPKVTUKQTjuQBWEoSLTiZfRaOMkU4WTe5fbzWY0BLVw== X-Received: by 10.36.153.197 with SMTP id a188mr25143682ite.5.1489644926554; Wed, 15 Mar 2017 23:15:26 -0700 (PDT) MIME-Version: 1.0 Sender: ermal.luci@gmail.com Received: by 10.107.149.135 with HTTP; Wed, 15 Mar 2017 23:15:25 -0700 (PDT) In-Reply-To: References: <1b605589-9642-ee92-fb9b-9ff5b4798316@sentex.net> <6582cf37-08b0-9083-0c3e-1396a885d005@sentex.net> From: =?UTF-8?Q?Ermal_Lu=C3=A7i?= Date: Wed, 15 Mar 2017 23:15:25 -0700 X-Google-Sender-Auth: IZUuUfdHd6m3d3CxHbhDyi-b64Q Message-ID: Subject: Re: pf bug with tun interfaces ? To: Kristof Provost Cc: Mike Tancsa , "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Mar 2017 06:15:27 -0000 On Wed, Mar 15, 2017 at 7:33 PM, Kristof Provost wrote= : > On 15 Mar 2017, at 22:10, Mike Tancsa wrote: > >> On 3/15/2017 4:28 AM, Kristof Provost wrote: >> >>> I don=E2=80=99t see any obvious reason why that would happen. >>> >>> Can you reduce this to a minimal test setup and include rc.conf, >>> pf.conf, =E2=80=A6 >>> with a bug report in bugzilla? >>> >> >> is it possible that its how OpenVPN sets up the tun interface ? >> Otherwise nat via pf on ppp connections would not work either. >> >> I=E2=80=99m not aware of anything, but I=E2=80=99m not very familiar wit= h OpenVPN. > > The only time this will not work is when tun interface does not have an ip assigned. So your rule will not work with (tun) syntax. Otherwise it does not depend on anything else other than general ifnet What FreeBSD Version is this? > Regards, > Kristof > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > > -- > Ermal >