Re: [OpenIndiana-discuss] How to tell nwam to use the firewall rules in /etc/ipf/ipf.conf ?

2022-02-28 Thread Udo Grabowski (IMK)
And this part probably determines if the custom policy is preserved: # # IPFilter # # If the firewall policy is "custom", simply copy the # custom_policy_file. If the firewall policy is "none", "allow" or # "deny", save the value as "/". When

Re: [OpenIndiana-discuss] How to tell nwam to use the firewall rules in /etc/ipf/ipf.conf ?

2022-02-28 Thread Udo Grabowski (IMK)
See /lib/svc/method/net-nwam, it should take the ipfilter-config-file from the activated IP firewall service: # IPFilter, IPsec, and IKE ipf_file=`nwam_get_loc_prop Legacy ipfilter-config-file` ipf6_file=`nwam_get_loc_prop Legacy ipfilter-v6-config-file`

Re: [OpenIndiana-discuss] How to tell nwam to use the firewall rules in /etc/ipf/ipf.conf ?

2022-02-28 Thread Udo Grabowski (IMK)
On 28/02/2022 12:44, Udo Grabowski (IMK) wrote: On 28/02/2022 12:32, Marc Lobelle wrote: Hello, I defined firewall rules for ipfilter in /etc/ipf/ipf.conf. However, I use nwam and, at boot time, nwam wipes out all firewall rules and imposes its own: block everything excpt dhcp in the

Re: [OpenIndiana-discuss] How to tell nwam to use the firewall rules in /etc/ipf/ipf.conf ?

2022-02-28 Thread Udo Grabowski (IMK)
On 28/02/2022 12:32, Marc Lobelle wrote: Hello, I defined firewall rules for ipfilter in /etc/ipf/ipf.conf. However, I use nwam and, at boot time, nwam wipes out all firewall rules and imposes its own: block everything excpt dhcp in the NoNet situation and no rules at all when a network

[OpenIndiana-discuss] How to tell nwam to use the firewall rules in /etc/ipf/ipf.conf ?

2022-02-28 Thread Marc Lobelle
Hello, I defined firewall rules for ipfilter in /etc/ipf/ipf.conf. However, I use nwam and, at boot time, nwam wipes out all firewall rules and imposes its own: block everything excpt dhcp in the NoNet situation and no rules at all when a network interface is active. The NoNet rules can be