GO-V.ORG
As seen in

NPF (firewall)

NPF is a BSD licensed stateful packet filter, a central piece of software for firewalling.[src] It is comparable to iptables, ipfw, ipfilter and PF.[src] NPF is developed on NetBSD.[src]

NPF is a BSD licensed stateful packet filter, a central piece of software for firewalling.[src] It is comparable to iptables, ipfw, ipfilter and PF.[src] NPF is developed on NetBSD.[src] $ext_if = inet4(wm0) $int_if = inet4(wm1) Efficient tables to store IP sets.[src] table type hash file "/etc/npf_blacklist" table type tree dynamic Variables with the service names.[src] $services_tcp = { http, https, smtp, domain, 9022 } $services_udp = { domain, ntp } $localnet = { 10.1.1.0/24 } Different forms of NAT are supported.[src] map $ext_if dynamic 10.1.1.0/24 -> $ext_if map $ext_if dynamic 10.1.1.2 port 22 pass stateful in final family inet proto tcp to $ext_if port ssh apply "log" pass stateful in final proto tcp to $ext_if port $services_tcp pass stateful in final proto udp to $ext_if port $services_udp # Passive FTP and traceroute pass stateful in final proto tcp to $ext_if port 49151-65535 pass stateful in final proto udp to $ext_if port 33434-33600 } group "internal" on $int_if { # Ingress filtering as per RFC 2827.[src] block in all pass in final from $localnet pass in final from pass out final all } group default { pass final on lo0 all block all } ==External links==[src]

11 sentences · 11 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"NPF (firewall)." encyclopegia.org, 2022, https://encyclopegia.org/wiki/npf-firewall. Accessed 05 December 2026.

Chicago

"NPF (firewall)." encyclopegia.org. Accessed December 5, 2026. https://encyclopegia.org/wiki/npf-firewall.

APA

encyclopegia.org. (2022). NPF (firewall). Retrieved December 5, 2026, from https://encyclopegia.org/wiki/npf-firewall

Accessed December 5, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1085404042 · 0.5 · snapshot enwiki-001085404042

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.