I have FreeBSD jails with the following IP bound to net interface bce1:
I have enabled pf in FreeBSD, and in
And have only the following rule in
result:
In either jail
Code:
192.168.50.3
192.168.50.4
I have enabled pf in FreeBSD, and in
rc.conf
set
Code:
gateway_enable="YES"
And have only the following rule in
/etc/pf.conf
but it doesn't work:
Code:
ext_if="bce0"
int_if="bce1"
nat on $ext_if from $int_if:network to any -> ($ext_if)
result:
Code:
# telnet yahoo.com 80
yahoo.com: Name does not resolve
In either jail
/etc/resolv.conf
uses 8.8.8.8 as DNS server.