johnjaylward
Dabbler
- Joined
- Oct 23, 2014
- Messages
- 37
My FreeNAS box has 2 NIC ports, one is on my LAN, and the other I want to use for Jails that will be on the WAN. My ISP provides me with 5 static IPS and my current Gentoo server (that I want to replace with my FreeNAS server) just aliases them all except one that is used to let my WAN access the internet through a dedicated router. My Gentoo box currently has complicated firewall rules to keep WAN access off the LAN.
I would like to do something similar with FreeNas using jails (3 jails 1 for each static IP). My network topology would look something like the attached image (I couldn't figure out how to get formatted text...)
Does anyone know the best way to set up jails so I can use all the IPs in the actual Jails and not assign one to the physical NIC? Would I need to assign them all to the NIC then use NAT and PF rules to limit access similar to my Gentoo setup?
Or if anyone has a good book or links on networking and Jails for FreeBSD that would be great. I'm not used to working with chroot or jails, and am mostly familiar with Linux, so any docs from beginner to advanced would be welcome.
I would like to do something similar with FreeNas using jails (3 jails 1 for each static IP). My network topology would look something like the attached image (I couldn't figure out how to get formatted text...)
Does anyone know the best way to set up jails so I can use all the IPs in the actual Jails and not assign one to the physical NIC? Would I need to assign them all to the NIC then use NAT and PF rules to limit access similar to my Gentoo setup?
Or if anyone has a good book or links on networking and Jails for FreeBSD that would be great. I'm not used to working with chroot or jails, and am mostly familiar with Linux, so any docs from beginner to advanced would be welcome.