Page MenuHomeVyOS Platform

Can't commit firewall state-policy (iptables chain already exists)
Closed, WontfixPublic

Description

I tried to set the firewall state-policy. When committing, I got the following error:

vyos@paz# set firewall state-policy established action accept
[edit]
vyos@paz# commit
[ firewall state-policy ]
ip6tables: Chain already exists.
create_ipt_chain [/sbin/ip6tables -t filter -N VYATTA_STATE_POLICY_FWD_HOOK]
failed: [error code - 256]

[[firewall state-policy]] failed
Commit failed

Following some advice on IRC, I did a reboot and the problem had gone away.

Details

Difficulty level
Easy (less than an hour)
Version
1.1.7

Event Timeline

I tried to reproduce this, but couldn't unfortunately. This error happened when I deleted firewall rules regarding established and related traffic to replace then with the state-policy settings.

syncer claimed this task.