Yes, put it on a different device than the FreeNAS box. It doesn't act as a firewall, and isn't intended to. If you think it should, feel free to submit a feature request (the "report a bug" link at the top of the page).Is there a way of setting up a FW and have it stick on reboots?
Because its a NAS. Firewall is something completely different on your network. It's not good to mix and match this stuff.Not entirely helpful, but I don't understand why you feel it can't act as a firewall as well?
If what you're asking for is ever going to happen, it's going to be the devs who implement it. The way you ask them to do something is to submit a bug. "Not what I wanted to hear" is not the same as "not helpful."Not entirely helpful,
Why it can't right now is because it isn't designed to, and (as you've already found) any work you do behind the scenes is undone the next time you reboot. But there's certainly no reason the devs can't incorporate this feature; the question is whether they should, and even more importantly whether they will. And what I think on those questions is pretty much irrelevant.why you feel it can't act as a firewall as well?
If what you're asking for is ever going to happen, it's going to be the devs who implement it. The way you ask them to do something is to submit a bug. "Not what I wanted to hear" is not the same as "not helpful."
The "not entirely helpful" comment was not directed at your response FWIW, merely the lack of what I think would be a really nice additional feature. I guess I could skin this via init scripts.
Why it can't right now is because it isn't designed to, and (as you've already found) any work you do behind the scenes is undone the next time you reboot. But there's certainly no reason the devs can't incorporate this feature; the question is whether they should, and even more importantly whether they will. And what I think on those questions is pretty much irrelevant.
iocage get all <jailname>
.steve@freenas:~ % iocage get all nextcloud CONFIG_VERSION:26 allow_chflags:0 allow_mlock:0 allow_mount:0 allow_mount_devfs:0 allow_mount_fusefs:0 allow_mount_nullfs:0 allow_mount_procfs:0 allow_mount_tmpfs:0 allow_mount_zfs:0 allow_quotas:0 allow_raw_sockets:0 allow_set_hostname:1 allow_socket_af:0 allow_sysvipc:0 allow_tun:0 allow_vmm:0 assign_localhost:0 available:readonly basejail:0 boot:1 bpf:0 children_max:0 cloned_release:11.3-RELEASE comment:none compression:lz4 compressratio:readonly coredumpsize:off count:1 cpuset:off cputime:off datasize:off dedup:off defaultrouter:192.168.0.1 defaultrouter6:auto depends:none devfs_ruleset:5 dhcp:0 enforce_statfs:2 exec_clean:1 exec_created:/usr/bin/true exec_fib:0 exec_jail_user:root exec_poststart:/usr/bin/true exec_poststop:/usr/bin/true exec_prestart:/usr/bin/true exec_prestop:/usr/bin/true exec_start:/bin/sh /etc/rc exec_stop:/bin/sh /etc/rc.shutdown exec_system_jail_user:0 exec_system_user:root exec_timeout:60 host_domainname:none host_hostname:nextcloud host_hostuuid:nextcloud host_time:1 hostid:3eabf660-7b10-5344-001b-107b4453001a hostid_strict_check:0 interfaces:vnet0:bridge0 ip4:new ip4_addr:vnet0|192.168.0.101/24 ip4_saddrsel:1 ip6:new ip6_addr:none ip6_saddrsel:1 ip_hostname:0 jail_zfs:0 jail_zfs_dataset:iocage/jails/nextcloud/data jail_zfs_mountpoint:none last_started:2020-05-18 04:27:10 localhost_ip:none login_flags:-f root mac_prefix:107b44 maxproc:off memorylocked:off memoryuse:off mount_devfs:1 mount_fdescfs:1 mount_linprocfs:0 mount_procfs:0 mountpoint:readonly msgqqueued:off msgqsize:off nat:0 nat_backend:ipfw nat_forwards:none nat_interface:none nat_prefix:172.16 nmsgq:off notes:none nsem:off nsemop:off nshm:off nthr:off openfiles:off origin:readonly owner:root pcpu:off plugin_name:none plugin_repository:none priority:99 pseudoterminals:off quota:none readbps:off readiops:off release:11.3-RELEASE-p9 reservation:none resolver:/etc/resolv.conf rlimits:off rtsold:0 securelevel:2 shmsize:off stacksize:off state:up stop_timeout:30 swapuse:off sync_state:none sync_target:none sync_tgt_zpool:none sysvmsg:new sysvsem:new sysvshm:new template:0 type:jail used:readonly vmemoryuse:off vnet:1 vnet0_mac:107b44bab581 107b44bab582 vnet1_mac:none vnet2_mac:none vnet3_mac:none vnet_default_interface:auto vnet_interfaces:none wallclock:off writebps:off writeiops:off