summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorJan-Philipp Benecke <jan-philipp@bnck.me>2021-06-03 18:26:39 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-04 14:39:02 +0200
commit77866ccb16194a2446b2faccb52ec852aa882b96 (patch)
tree2ede2a0d2e8ca72b710979b8caf21e4ae74545c4 /src/conf_mode
parent5ae12f898eaeba4db0221db11ab51d0a4f1dc36f (diff)
downloadvyos-1x-77866ccb16194a2446b2faccb52ec852aa882b96.tar.gz
vyos-1x-77866ccb16194a2446b2faccb52ec852aa882b96.zip
flow-accounting: T3132: fix egress iptables chain
(cherry picked from commit 95cc2e4b4c11414cc71749af12abb575e96e5bd4)
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/flow_accounting_conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/flow_accounting_conf.py b/src/conf_mode/flow_accounting_conf.py
index 0727b47a8..9cae29481 100755
--- a/src/conf_mode/flow_accounting_conf.py
+++ b/src/conf_mode/flow_accounting_conf.py
@@ -43,7 +43,7 @@ uacctd_conf_path = '/etc/pmacct/uacctd.conf'
iptables_nflog_table = 'raw'
iptables_nflog_chain = 'VYATTA_CT_PREROUTING_HOOK'
egress_iptables_nflog_table = 'mangle'
-egress_iptables_nflog_chain = 'POSTROUTING'
+egress_iptables_nflog_chain = 'FORWARD'
# helper functions
# check if node exists and return True if this is true