I'm creating a home network spanning a few houses and a barn. For this I use an old hp ProLiant ML370 G5, an hp MSM760 Wi-Fi controller and 10 hp MSM422 access points. All this connected through ethernet LAN.
I've installed FreeBSD 12.0-RELEASE on the ML370 and managed to get the DHCP server working. The server has two built-in ethernet interfaces (bge0 and bge1) and a PCI network card with 4 interfaces (igb0-3). Internet is connected to igb0, and bge0 is the LAN. bge1 is connected to the Internet-port on the Wi-Fi controller. Computers and devices connected to the LAN all gets an IP as intended, but I can't get them to reach the Internet.
I can ssh to the server from my desktop, and the server can reach the Internet.
What am I doing wrong?
This is my /etc/rc.conf
And this is my /usr/local/etc/pf.conf
I've installed FreeBSD 12.0-RELEASE on the ML370 and managed to get the DHCP server working. The server has two built-in ethernet interfaces (bge0 and bge1) and a PCI network card with 4 interfaces (igb0-3). Internet is connected to igb0, and bge0 is the LAN. bge1 is connected to the Internet-port on the Wi-Fi controller. Computers and devices connected to the LAN all gets an IP as intended, but I can't get them to reach the Internet.
I can ssh to the server from my desktop, and the server can reach the Internet.
What am I doing wrong?
This is my /etc/rc.conf
Code:
hostname="heimdall"
ifconfig_igb0="DHCP"
ifconfig_bge0="inet 192.168.0.1 netmask 255.255.255.0"
ifconfig_bge1="inet 192.168.1.1 netmask 255.255.255.0"
dhcpd_enable="YES"
dhcpd_ifaces="bce0 bce1"
gateway_enabled="YES"
sshd_enable="YES"
pf_enable="YES"
pf_ruleset="/etc/pf.conf"
moused_enable="YES"
ntpd_enable="YES"
dumpdev="AUTO"
zfs_enable="YES"
Code:
ext_if="igb0"
int_if="{ bge0, bge1 }"
int_networks="{ 192.168.0.0/24, 192.168.1.0/24 }"
nat on $ext_if from any to any -> ($ext_if)
pass in on $int_if from any to any keep state