This is my /etc/pf.conf:
this is pfctl -vf /etc/pf.conf output:
Notice that the address has changed from 192.168.101.0/24 to 64.168.101.0/0. What's wrong with my configuration?
Running FreeBSD 12.1 in QEMU.
Code:
ext_if="vtnet0"
localnet="192.168.101.0/24"
set skip on lo0
scrub in
block in
pass out
pass in on $ext_if proto tcp from $localnet to ($ext_if) port {22, 80}
this is pfctl -vf /etc/pf.conf output:
Code:
No ALTQ support in kernel
ALTQ related functions disabled
ext_if = "vt_net0"
localnet = "192.168.101.0/24"
set skip on { lo0 }
scrub in all fragment reassemble
block drop in all
pass in on vtnet0 inet proto tcp from 64.168.101.0/0 to (vtnet0) port = ssh flags S/SA keep state
pass in on vtnet0 inet proto tcp from 64.168.101.0/0 to (vtnet0) port = http flags S/SA keep state
pass out all flags S/SA keep state
Notice that the address has changed from 192.168.101.0/24 to 64.168.101.0/0. What's wrong with my configuration?
Running FreeBSD 12.1 in QEMU.