You are not logged in.

#1 2017-10-25 10:44:36

OlivK
Member
Registered: 2017-10-15
Posts: 22

Command run in vconsole but not in terminal emulator.

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

#2 2017-10-25 11:18:52

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Command run in vconsole but not in terminal emulator.

Please add [solved] to the the thread title, instead of the post itself.

Offline

Board footer

Powered by FluxBB