|
|
@@ -34,6 +34,22 @@ IP_TABLES_RESTORE_6="/sbin/ip6tables-restore"
|
|
|
IP_TABLES_SAVE="/sbin/iptables-save"
|
|
|
IP_TABLES_SAVE_6="/sbin/ip6tables-save"
|
|
|
|
|
|
+###############################################################
|
|
|
+# iptables action definition
|
|
|
+###############################################################
|
|
|
+
|
|
|
+# -C
|
|
|
+export IPTABLES_CHECK=__iptables_check_action
|
|
|
+# -A
|
|
|
+export IPTABLES_ADD=__iptable_add_action
|
|
|
+# -I
|
|
|
+export IPTABLES_INSERT=__iptable_insert_action
|
|
|
+# -P
|
|
|
+export IPTABLES_SET_POLICY=__iptable_set_policy_action
|
|
|
+
|
|
|
+export IP_TABLES
|
|
|
+export NETWORK_IF
|
|
|
+
|
|
|
|
|
|
###############################################################
|
|
|
# File and folder paths
|