Hi all,
I am trying to use pf on FreeBSD 14.1, my testing FreeBSD is on VirtualBox as a guest, when I define the external interface in pf.conf, I am not sure what the interface name should be...
In my pf.conf, I have tried to use:
it should allow access to the web server, but it is blocked, if I remove the "on $ext_if" as below, it works:
so it seems the ext_if is incorrect, but what name should I put it?
Thanks.
I am trying to use pf on FreeBSD 14.1, my testing FreeBSD is on VirtualBox as a guest, when I define the external interface in pf.conf, I am not sure what the interface name should be...
In my pf.conf, I have tried to use:
Code:
ext_if = "vtnet0"
block all
pass in on $ext_if proto tcp to port { 80 443 }
it should allow access to the web server, but it is blocked, if I remove the "on $ext_if" as below, it works:
Code:
ext_if = "vtnet0"
block all
pass in proto tcp to port { 80 443 }
so it seems the ext_if is incorrect, but what name should I put it?
Thanks.