Hi mates!
During the boot my FreeBSD box start PF earlier than wg0 interface creates.
How to change priority of the boot?
During the boot my FreeBSD box start PF earlier than wg0 interface creates.
Code:
Enabling pfno IP address found for wg0:network
/etc/pf.conf:5: could not parse host specification
pfctl: Syntax error in config file: pf rules not loaded
/etc/rc: WARNING: Unable to load /etc/pf.conf.
.
[#] ifconfig wg create name wg0
[#] wg setconf wg0 /dev/stdin
[#] ifconfig wg0 inet 10.0.1.1/24 alias
[#] ifconfig wg0 mtu 1420
[#] ifconfig wg0 up
wg0: link state changed to UP
[#] route -q -n add -inet 10.0.1.4/32 -interface wg0
[#] route -q -n add -inet 10.0.1.3/32 -interface wg0
[#] route -q -n add -inet 10.0.1.2/32 -interface wg0
[+] Backgrounding route monitor