Difference between revisions of "Firewall"

From GhostBSD Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
IPFW is already setup to default: [[/boot/defaults/loader.conf#Set ipfw to default accept|Set ipfw to default accept]]<br/>
 
IPFW is already setup to default: [[/boot/defaults/loader.conf#Set ipfw to default accept|Set ipfw to default accept]]<br/>
 +
If you run <code>[[Rc-update|rc-update]]</code> it shows all running services, ipfw included.
 +
 
[[OpenRC]] manages how ipfw (/etc/[[Init.d|init.d]]/ipfw) configuration is initialized. <br/>
 
[[OpenRC]] manages how ipfw (/etc/[[Init.d|init.d]]/ipfw) configuration is initialized. <br/>
  

Revision as of 17:04, 8 October 2020

Welcome to Icon Disti GhostBSD.png Firewall.

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

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