[Bug 254587] net/wireguard: pf fail starting on every boot

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 26 20:17:15 UTC 2021


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

            Bug ID: 254587
           Summary: net/wireguard: pf fail starting on every boot
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: decke at FreeBSD.org
          Reporter: victor_volpe at bol.com.br
          Assignee: decke at FreeBSD.org
             Flags: maintainer-feedback?(decke at FreeBSD.org)

After this update, my NAT rules based on wg0 interface,  are no longer going up
on boot. I need to manually start the pf after. Even with wireguard-kmod
removed, it not behaves as before! It seems that now pf initializes before
wireguard, or something else. There is no test routines before releasing an big
updates like this? Jeez!

root at home:~ # cat /etc/pf.conf
nat on wg0 from 192.168.15.0/24 to { 192.168.111.0/24, 10.0.0.0/24 } -> wg0

root at home:~ # cat /etc/rc.conf
wireguard_enable="YES"
wireguard_interfaces="wg0"
gateway_enable="YES"
pf_enable="YES"
pf_rules="/etc/pf.conf"
pflog_enable="YES"
pflog_logfile="/var/log/pflog"

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


More information about the freebsd-ports-bugs mailing list