I've just installed a clean Ubuntu server 20.04, and was going to add some pre/post routing rules, but I can't get them to be added.
I've tried
iptables -A PREROUTING -i enp0s3 -p tcp -m tcp --dport 49620 -j DNAT --to-destination 192.168.2.53:22222
but getting the response:
iptables: No chain/target/match by that name.
This worked without any issues on my older 18.04 server.
I've searched for answer how to add a chain, but can't find anything about it..
Bookmarks