You are not logged in.
The following command, executed run without problem inside a vconsole:
iptables -A TCP -p tcp --dport 22 -j ACCEPT
But in any terminal emulator I have tested this same command produces the message: "iptables: No chain/target/match by that name."
It seems to be related to the --dport option. If I remove it, the command just run fine. If after -p tcp I add any option with double minus "--" I get this same error.
What is happening?
I have rebooted, and the problem has disapeared. No possibillity to reproduce it...
[SOLVED]
Last edited by OlivK (2017-10-25 10:59:29)
Offline
Please add [solved] to the the thread title, instead of the post itself.
Offline