Score:0

iptables rule with network interface not working

co flag

I have problem that if in IPTABLES I insert network interface it's not woking if without network interface it's ok.
My iptables: https://i2.paste.pics/cce26e3f680e2b...08e514f9cb.png

and if I use rule like this, it's working:
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
If I add interface not working:
-A INPUT -i ens192 -p tcp -m tcp --dport 22 -j ACCEPT

Ifconfig: https://i2.paste.pics/H4FPP.png

Where is a problem?

Thanks in advance...

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.