git: DragonFly_RELEASE_5_2 rc.d: Add ipfw3 rc script

Aaron LI aly at
Thu Mar 29 18:06:37 PDT 2018

commit 575b0a3987bc9d821132a72310a89e14f99c0c4a
Author: Aaron LI <aly at>
Date:   Thu Mar 29 22:12:33 2018 +0800

    rc.d: Add ipfw3 rc script
    To use ipfw3, add 'ipfw3_enable=YES' to /etc/rc.conf .  By default, only
    the 'ipfw3' and 'ipfw3_basic' modules will be loaded.  If you need more
    ipfw3 modules, set them with 'ipfw3_modules="<modules> ..."' in
    /etc/rc.conf .  See also the rc.conf(5) man page.
    This ipfw3 rc script is largely based on the ipfw script.
    The /etc/ipfw3.rules (a shell script) should be present to setup the
    firewall rules, otherwise the default setup will block all incoming
    connections, including your current connection!
    I wrote this script for use in my VPS last year, but switched to
    PF later, so more tests and improvements (e.g., flush tables on stop)
    to this script are needed.
    Reviewed-by: swildner

Summary of changes:
 etc/defaults/rc.conf                     |   4 +
 etc/rc.d/Makefile                        |   2 +-
 sys/bus/gpio/gpio_if.m => etc/rc.d/ipfw3 | 121 +++++++++++++------------------
 share/man/man5/rc.conf.5                 |  23 +++++-
 4 files changed, 76 insertions(+), 74 deletions(-)
 copy sys/bus/gpio/gpio_if.m => etc/rc.d/ipfw3 (56%)

DragonFly BSD source repository

More information about the Commits mailing list