PF NAT IPv4 with PF not working after reboot

I am running a router on 15.1-RELEASE, dual stack IPv6 and IPv4.
After reboot IPv4 does not work for the clients, while working from the server itself. I suspect this is due to the pf ruleset/nat not being loaded properly.
It starts working after i do a pfctl -f /etc/pf.conf.

Any ideas what could be going on?

In rc.conf i have:

Code:
pf_enable="YES"
pf_rules="/etc/pf.conf"


My pf.conf:

Code:
ext_if = "ixl0"
int_if = "igc0"

set skip on lo0
scrub in all

# NAT
nat on $ext_if inet from $int_if:network to any -> ($ext_if)

# Default deny

block drop all

pass inet proto icmp all keep state
pass inet6 proto icmp6 all keep state

# DHCP
pass in on $int_if proto udp from any port 68 to any port 67 keep state
pass out on $int_if proto udp from any port 67 to any port 68 keep state

pass in on $ext_if inet6 proto udp from fe80::/10 port 547 to fe80::/10 port 546 keep state
pass out on $ext_if inet6 proto udp from fe80::/10 port 546 to fe80::/10 port 547 keep state

# LAN → anywhere
pass in on $int_if inet from $int_if:network to any keep state
pass in on $int_if inet6 from $int_if:network  to any keep state

# Outbound WAN
pass out on $ext_if inet keep state
pass out on $ext_if inet6 keep state
 
Back
Top