eminguez
Cadet
- Joined
- Aug 13, 2018
- Messages
- 3
My LAN is 192.168.1.0/24 and I want to be able to create jails:
Now my question is, how do translate that into iocage commands? I've been looking in the new ui and reading the iocage readthedocs site but couldn't find any parameter to specify those settings...
Thanks!!!
- in that LAN addresses (so reachable from the LAN) but also
- 'internal' only jails (like 10.0.2.1/24) that are not reachable from the LAN but natted to the outside world (so they can reach out internet and LAN services but no viceversa unless I specifically want to forward ports, which I don't at the moment)
- IPv4: 10.0.2.99 (some IP I choose)
- IPv4 netmask: /24
- IPv4 bridge: 10.0.2.1
- IPv4 bridge netmask: /24
- IPv4 default gateway: 10.0.2.1 (bridge IP)
- Sysctls: "allow.raw_sockets=true" (configured automatically by FreeNAS)
- Marked 'VIMAGE'
- Marked 'NAT'
Code:
00300 nat 100 IP from 10.0.2.99 to any out xmit bge0
Now my question is, how do translate that into iocage commands? I've been looking in the new ui and reading the iocage readthedocs site but couldn't find any parameter to specify those settings...
Thanks!!!