NetBSD-Users archive

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

Re: PF configuration for munin



2012/1/13 "三輪晋(Miwa Susumu)" <miwarin%gmail.com@localhost>:
[snip]
> ----
> ext_if = "pcn0"
> lo_if = "lo0"
> tcp_services = "{ ssh, www, smtp, domain, munin, netbios-ssn,
> microsoft-ds }"
> udp_services = "{ domain, netbios-ns, netbios-dgm }"
> priv_nets = "{ 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 }"
> localhost="127.0.0.1"
>
> pass in on $ext_if inet proto tcp from any to ($ext_if) port
> $tcp_services flags S/SA keep state
> pass in on $ext_if inet proto udp from any to ($ext_if) port $udp_services
> ----
>
Do you have any rules after this that would be blocking the traffic?

You could try adding the 'quick' keyword to the rule, which will stop
any further rules being processed if the rule matches...

pass in quick on.....

Cheers,

Ian


Home | Main Index | Thread Index | Old Index