I have a fairly common setup - vSphere and ESXi hosts using FreeNAS as the VM store. The servers can see each other (obviously) so I want to segregate system admin traffic and user traffic onto different VLANs, and restrict the management IPs on both boxes.
Configuring management access on ESXi is easy, but I can't figure how to do it on FreeNAS. At the moment the relevant FreeNAS config is that it has one active NIC (10G Chelsio) with IP of say 192.168.1.2, and no VLANs have been set up on the network yet. What I'd like is to do one or more of the following:
Create two VLANs, say 1 and 2, with any VLAN able to access sharing services on the sharing ports, but only VLAN 2 able to reach the admin IP/port
Create two IPs on the one NIC, say 192.168.1.2 and 192.168.1.3, with only 192.168.1.3 able to reach the management login.
Blocking the management access ports (80,443 etc) for VLAN != 2 and/or IP != 192.168.1.3.
As FreeNAS isn't a router or firewall it doesn't have much built in to do this, so I'm not sure how to go about doing these things. It can't be uncommon to have it directly connected to the general LAN, so I'm hoping there's a straightforward helpful answer to the above 3 approaches, so I can choose which works best for me and figure out how to combine them if useful.