OPNsense Forum

English Forums => 25.1 Production Series => Topic started by: Pressure on March 07, 2025, 04:56:29 PM

Title: Firewall under the hood
Post by: Pressure on March 07, 2025, 04:56:29 PM
Hi, been searching but can't quite tell which firewall that Opnsense uses under the hood.
Which firewall is used?
Title: Re: Firewall under the hood
Post by: Patrick M. Hausen on March 07, 2025, 05:05:32 PM
pf for the firewall
ipfw for the shaper

IPtables is Linux - OPNsense is built on FreeBSD.

What's pw?
Title: Re: Firewall under the hood
Post by: Pressure on March 07, 2025, 06:46:51 PM
Quote from: Patrick M. Hausen on March 07, 2025, 05:05:32 PMpf for the firewall
ipfw for the shaper

IPtables is Linux - OPNsense is built on FreeBSD.

What's pw?

PW - Well that's a typo :p

Yes i know iptables is linux, but according to the freebsd manual it's supported so i thought it might be under the opnsense fork as well.

And Thank you for answer, now I'm gonna try to learn as much as i can about the PF firewall
Title: Re: Firewall under the hood
Post by: Patrick M. Hausen on March 07, 2025, 07:21:25 PM
Quote from: Pressure on March 07, 2025, 06:46:51 PMiptables is linux, but according to the freebsd manual it's supported

Please provide a link to the source. Thank you.
Title: Re: Firewall under the hood
Post by: patient0 on March 07, 2025, 07:56:57 PM
Quote from: Pressure on March 07, 2025, 06:46:51 PMYes i know iptables is linux, but according to the freebsd manual it's supported so i thought it might be under the opnsense fork as well.

Maybe you are referring to "IPFILTER", the 3rd of the FreeBSD firewalls?

"FreeBSD has three firewalls built into the base system: PF, IPFW, and IPFILTER, also known as IPF"