[Question] Possible bug in iptables?
Hello. I experience a strange iptables behaviour, described bellow. I would be happy for help in solving it or advises about the next steps to be taken.
**Description**
I attempted to add a global rule (without any assigned IP address) with following commands:
`iptables -t raw -A PREROUTING -m connntrack --ctstate NEW -j UPDATE`
or (when the above wasn't working):
`iptables -v -t raw -A PREROUTING -p tcp -j UPDATE`, where (in both cases) UPDATE is an created before custom chain.
Each time I receiving following output message:
* in the first case:
`UPDATE all opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 ctstate NEW
iptables: No chain/target/match by that name.
`
* in the second case:
`UPDATE tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0
iptables: No chain/target/match by that name.
`
**System informations:**
* OS: Ubuntu 20.04
* uname -a:
`Linux live 5.4.0-53-generic #59-Ubuntu SMP Wed Oct 21 09:38:44 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux`
* lsb_relaease -a:
`No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal
`
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu iptables Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: