I am having difficulty with NAT. I thought it would have been easy.
/etc/rc.conf
/etc/pf.conf
Other machine on the LAN use 192.168.32.5 as the default route. From them I can ping few IPs on the internet, but most I cannot.
What a I doing wrong?
/etc/rc.conf
Code:
defaultrouter="192.168.64.1"
gateway_enable="YES"
ifconfig_igb0="inet 192.168.32.22 netmask 255.255.255.0"
ifconfig_igb0_alias0="inet 192.168.32.5 netmask 255.255.255.255"
ifconfig_igb0_alias1="inet 192.168.33.1 netmask 255.255.255.0"
ifconfig_igb0_alias2="inet 192.168.34.1 netmask 255.255.255.0"
ifconfig_igb0_alias3="inet 192.168.35.1 netmask 255.255.255.0"
ifconfig_aq0="inet 192.168.64.5 netmask 255.255.255.0"
/etc/pf.conf
Code:
nat on aq0 from "192.168.32.0/22" to any -> (aq0)
Other machine on the LAN use 192.168.32.5 as the default route. From them I can ping few IPs on the internet, but most I cannot.
What a I doing wrong?