1 --- iptables/iptables-apply.8.in.orig 2022-07-25 17:12:06.833791345 +0300
2 +++ iptables/iptables-apply.8.in 2022-07-25 17:13:35.780742653 +0300
4 Successfully applied rules can also be written to savefile and later used
5 to roll back to this state. This can be used to implement a store last good
6 configuration mechanism when experimenting with an iptables setup script:
7 -iptables-apply \-w /etc/network/iptables.up.rules \-c /etc/network/iptables.up.run
8 +iptables-apply \-w /etc/iptables/iptables.rules \-c /etc/iptables/iptables.run
10 When called as ip6tables\-apply, the script will use
11 ip6tables\-save/\-restore and IPv6 default values instead. Default
12 -value for rulesfile is '/etc/network/iptables.up.rules'.
13 +value for rulesfile is '/etc/iptables/iptables.rules'.
16 \fB\-t\fP \fIseconds\fR, \fB\-\-timeout\fP \fIseconds\fR
19 \fB\-w\fP \fIsavefile\fR, \fB\-\-write\fP \fIsavefile\fR
20 Specify the savefile where successfully applied rules will be written to
21 -(default if empty string is given: /etc/network/iptables.up.rules).
22 +(default if empty string is given: /etc/iptables/iptables.rules).
24 \fB\-c\fP \fIruncmd\fR, \fB\-\-command\fP \fIruncmd\fR
25 Run command runcmd to configure iptables instead of applying a rulesfile
26 -(default: /etc/network/iptables.up.run).
27 +(default: /etc/iptables/iptables.run).
29 \fB\-h\fP, \fB\-\-help\fP
30 Display usage information.
31 --- iptables/iptables-apply.orig 2022-07-25 17:12:11.713806961 +0300
32 +++ iptables/iptables-apply 2022-07-25 17:12:34.573880116 +0300
36 RESTORE=ip6tables-restore
37 - DEF_RULESFILE="/etc/network/ip6tables.up.rules"
38 + DEF_RULESFILE="/etc/iptables/ip6tables.rules"
39 DEF_SAVEFILE="$DEF_RULESFILE"
40 - DEF_RUNCMD="/etc/network/ip6tables.up.run"
41 + DEF_RUNCMD="/etc/iptables/ip6tables.run"
45 RESTORE=iptables-restore
46 - DEF_RULESFILE="/etc/network/iptables.up.rules"
47 + DEF_RULESFILE="/etc/iptables/iptables.rules"
48 DEF_SAVEFILE="$DEF_RULESFILE"
49 - DEF_RUNCMD="/etc/network/iptables.up.run"
50 + DEF_RUNCMD="/etc/iptables/iptables.run"