Hello, I tried to upgrade vom 21 to release 22.03.3 but I have several problems with the new firewall. I thought all rulues would be "translated" by itself, but that was wrong...
- problem
my custom rules don't work anymore, how can I translate them and store them into a file. I already tried
iptables-restore-translate -f rules.iptables > rules.nft
but it fails with:
iptables-translate-restore: line 1 failed
my rules are:
iptables -t nat -A PREROUTING -i br-lan.90 -p tcp --dport 9050 -j REDIRECT --to-ports 9050
iptables -t nat -A PREROUTING -i br-lan.90 -p udp --dport 53 -j REDIRECT --to-ports 9053
iptables -t nat -A PREROUTING -i br-lan.90 -p tcp --syn -j REDIRECT --to-ports 9040
- problem
when restarting the firewall it brings two messages:
Section @include[0] is not marked as compatible with fw4, ignoring section
Section @include[0] requires 'option fw4_compatible 1' to be considered compatible
what can I do about it?
thx in advance!
so long