Project

General

Profile

Actions

Bug #14076

open

OI: Ipfilter firewall table rules won't load at startup

Added by Adrian Kieß about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Dear Developers,

using my OpenIndiana installation, the ipfilter service won't load at startup after adding content to /etc/ipf/ipf.conf and /etc/ipf/ipf6.conf.
I enabled the ipfilter service with svcadm enable ipfilter.

I found a script in a forum @ the Internet, which fixes the issue. I paste it down below:

#!/bin/sh
#wait for system to bootup and services start
sleep 15
#Enable custom firewall rules for ipfilter...
svcadm enable ipfilter

svccfg -s ipfilter:default setprop \
firewall_config_default/policy = astring: "custom"

svccfg -s ipfilter:default setprop \
firewall_config_default/custom_policy_file = astring: \
"/etc/ipf/ipf.conf"

svcadm refresh ipfilter:default

This script I have put in /usr/local/bin/pkcfirewall.

Please have a look at the issue.

Thank you very much in advance.

Sincerely,

Adrian Kieß

Actions

Also available in: Atom PDF