Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 2020 04:54:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 248254] /etc/rc.d/ipfw should support ipdivert_enable="YES"
Message-ID:  <bug-248254-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248254

            Bug ID: 248254
           Summary: /etc/rc.d/ipfw should support ipdivert_enable="YES"
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: msl0000023508@gmail.com

Created attachment 216753
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216753&action=edit
ipfw-rc-script-ipdivert-config.diff

Currently this RC script will load ipdivert.ko only on natd_enable="YES"; this
patch however added another RC variable to load the kernel module along with
ipfw.ko, if enabled.

I uses some ipdivert-based programs that work with ipfw(4), however I don't use
natd(8), so I need another way to automatically load ipdivert.ko without adding
ipdivert_load=YES in /boot/loader.conf, because I don't want ipfw be enabled so
early at boot.

For example to enable ipdivert without natd, add following to /etc/rc.conf:

firewall_enable="YES"
ipdivert_enable="YES"

Of course other ipfw-related variables may be required to complete the whole
configuration.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248254-227>