I'm interested in setting up a few jails on a small home server. From what I understand, there are two ways to go about this.
What are the pros and cons of these options? My gut tells me to use the first option because 2 NATs would add latency and maybe increase CPU / power consumption a tiny bit. Currently I am not running
- Assign each jail a unique IP address on the same subnet as my home network. Use port forwarding on my router to route traffic to each one.
- Assign each jail a unique IP on a private subnet. Use
pf
to route traffic internally.
What are the pros and cons of these options? My gut tells me to use the first option because 2 NATs would add latency and maybe increase CPU / power consumption a tiny bit. Currently I am not running
pf
at all.