CentOS 6.2 IPTables

Hi everyone,

I'm trying to open port 21 on my CentOS 6.2 server but I can't get iptables to open ports…

This is the output of iptables -L -nv http://paste.linode.com/6685

This is the output of service iptables status

http://paste.linode.com/6686

And this is the error I get when trying to restart the service (service iptables restart)

iptables: Flushing firewall rules:                         [  OK  ]
iptables: Setting chains to policy ACCEPT: security raw nat[FAILED]filter
iptables: Unloading modules:                               [  OK  ]

Really appreciate any help…!

1 Reply

You don't have any firewall rules enabled, so the port is open…

% telnet li355-164.members.linode.com 21
Trying 178.79.186.164...
Connected to li355-164.members.linode.com (178.79.186.164).
Escape character is '^]'.
220 FTP Server ready.
quit
221 Goodbye.
Connection closed by foreign host.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct