lfd/csf not working as expected (block when should accept)
Posted: 05 Jul 2016, 10:01
Hello
using CentOS 6.
using csf v9.07
I notice that certain traffic is being blocked, although it should be accepted.
First,
In file csf.allow I have listed the IP-adres of server.mydomain.tld
Second, I have firewall config :
TCP_OUT = 0:65535
UDP_OUT = 0:65535
But when I make command :
scp -2 -i ~/.ssh/id_rsa /root/backup_db.sql.gz MyUser@server.mydomain.tld:/home/MyUser
I get :
ssh: connect to host server.mydomain.tld port 22: Connection timed out
lost connection
There is no firewall on host server.mydomain.tld and connection from other servers succeeds.
And yes, sshd_config on host server.mydomain.tld is configured for port 22.
When I shut down firewall (csf/lfd) everything works well !
The problem really is with csf/lfd. Why is it blocking this outgoing traffic ??
Thanks.
using CentOS 6.
using csf v9.07
I notice that certain traffic is being blocked, although it should be accepted.
First,
In file csf.allow I have listed the IP-adres of server.mydomain.tld
Second, I have firewall config :
TCP_OUT = 0:65535
UDP_OUT = 0:65535
But when I make command :
scp -2 -i ~/.ssh/id_rsa /root/backup_db.sql.gz MyUser@server.mydomain.tld:/home/MyUser
I get :
ssh: connect to host server.mydomain.tld port 22: Connection timed out
lost connection
There is no firewall on host server.mydomain.tld and connection from other servers succeeds.
And yes, sshd_config on host server.mydomain.tld is configured for port 22.
When I shut down firewall (csf/lfd) everything works well !
The problem really is with csf/lfd. Why is it blocking this outgoing traffic ??
Thanks.