Firewall

From GhostBSD Wiki
Revision as of 02:54, 10 October 2020 by Slughorn (Talk | contribs)

Jump to: navigation, search
Welcome to Icon Disti GhostBSD.png Firewall.

Introduction

ipfw or ipfirewall is an Internet-Protocol-Firewall written for FreeBSD. But on GhostBSD ipfw is managed by OpenRC.

Dialog-warning.png Attention: Please do not use FreeBSD firewall guidance.


IPFW on GhostBSD

IPFW is already setup to default: Set ipfw to default accept
If you run rc-update it shows all running services, ipfw included.

OpenRC manages how ipfw (/etc/init.d/ipfw) configuration is initialized.

The old way defined by TrueOS allows you to define the firewall rules via a /etc/ipfw.conf file. You have to create that file as it does not exist by default.

However, OpenRC (main branch) defines the firewall rules within the /etc/ipfw.conf file itself.

See: ipfw on OpenRC



Back to the Icon Disti GhostBSD.pngWiki