1fwb_ipt(1) Firewall Builder fwb_ipt(1)
2
3
4
6 fwb_ipt - Policy compiler for iptables
7
9 fwb_ipt [-wvV] [-dwdir] [-ooutput.fw] [-4] [-6] [-i] -fdata_file.xml
10 object_name
11
12
14 fwb_ipt is a firewall policy compiler component of Firewall Builder
15 (see fwbuilder(1)). Compiler reads objects definitions and firewall
16 description from the data file specified with "-f" option and generates
17 resultant iptables script. The script is written to the file with the
18 name the same as the name of the firewall object, plus extension ".fw".
19
20 The data file and the name of the firewall objects must be specified on
21 the command line. Other command line parameters are optional.
22
23
25 -4 Generate iptables script for IPv4 part of the policy. If any
26 rules of the firewall refer to IPv6 addresses, compiler will
27 skip these rules. Options "-4" and "-6" are exclusive. If nei‐
28 ther option is used, compiler tries to generate both parts of
29 the script, although generation of the IPv6 part is controlled
30 by the option "Enable IPv6 support" in the "IPv6" tab of the
31 firewall object advanced settings dialog. This option is off by
32 default.
33
34
35 -6 Generate iptables script for IPv6 part of the policy. If any
36 rules of the firewall refer to IPv6 addresses, compiler will
37 skip these rules.
38
39
40 -f FILE
41 Specify the name of the data file to be processed.
42
43
44 -o output.fw
45 Specify output file name
46
47
48 -d wdir
49 Specify working directory. Compiler creates file with iptables
50 script in this directory. If this parameter is missing, then
51 iptables script will be placed in the current working directory.
52
53
54 -v Be verbose: compiler prints diagnostic messages when it works.
55
56
57 -V Print version number and quit.
58
59
60 -i When this option is present, the last argument on the command
61 line is supposed to be firewall object ID rather than its name
62
63
65 Firewall Builder home page is located at the following URL:
66 http://www.fwbuilder.org/
67
68
70 Please report bugs using bug tracking system on SourceForge:
71
72 http://sourceforge.net/tracker/?group_id=5314&atid=105314
73
74
75
77 fwbuilder(1), fwb_ipf(1), fwb_pf(1)
78
79
80FWB fwb_ipt(1)