Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: npf



In article <Pine.NEB.4.64.1701091137250.18648%speedy.whooppee.com@localhost>,
Paul Goyette  <paul%whooppee.com@localhost> wrote:
>Following the example /usr/share/examples/blacklistd/npf.conf I created 
>the following:
>
> 	# Transparent firewall example for blacklistd
>
> 	$ext_if = { wm0, tun0 }
>
> 	set bpf.jit on;
> 	alg "icmp"
>
> 	group "external" on $ext_if {
> 	        ruleset "blacklistd"
> 	        pass final all
> 	}
>
> 	group default {
> 	        pass final all
> 	}
>
>After enabling npf, I see filter rules only on wm0, nothing for the 
>tunnel:
>
> 	{150} /etc/rc.d/npf restart
> 	Disabling NPF.
> 	Enabling NPF.
> 	{151}  npfctl show
> 	# filtering:    active
> 	# config:       loaded
>
> 	group "external" on wm0
> 	        ruleset "blacklistd" all
> 	        pass final all
>
> 	group
> 	        pass final all
>
> 	{152}
>
>
>Am I missing something?

Nope, looks like a bug.

christos



Home | Main Index | Thread Index | Old Index