Difference between revisions of "Firewall"

From GhostBSD Wiki
Jump to: navigation, search
Line 1: Line 1:
 
{{welcome}}
 
{{welcome}}
 +
==Introduction==
 +
ipfw or ipfirewall is an Internet-Protocol-Firewall  written for FreeBSD. But on GhostBSD ipfw is managed by [[OpenRC]].
  
 +
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000"
 +
|-
 +
|style="text-align:center;padding: 10px" | [[File:Dialog-warning.png|35px|link=]] '''Attention:  Please do not use FreeBSD firewall guidance.'''
 +
|}
 +
 +
 +
==IPFW on GhostBSD==
 
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.  
 
If you run <code>[[Rc-update|rc-update]]</code> it shows all running services, ipfw included.  
Line 12: Line 21:
 
See: [https://github.com/OpenRC/openrc/blob/master/conf.d/ipfw ipfw on OpenRC]
 
See: [https://github.com/OpenRC/openrc/blob/master/conf.d/ipfw ipfw on OpenRC]
  
{|class="wikitable" style="width:96.5%;background:#FFFFFF; border:2px solid #008000"
+
 
|-
+
|style="text-align:center;padding: 10px" | [[File:Dialog-warning.png|35px|link=]] '''Attention:  Do not use FreeBSD firewall guidance.'''
+
|}
+
  
  

Revision as of 03:54, 10 October 2020

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