Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
293 views

centos blocking 22 port even if firewall close

I'm trying ssh connection to server but it gives port 22: Connection refused error. I checked firewall and it seems disabled I also checked port 22 with telnet command and it seems blocked.. How ...
Hasan Teoman Tıngır's user avatar
2 votes
1 answer
1k views

How can I debug firewall settings in centos?

I'm trying to change my default ssh port to 21212 but something seems to be blocking the new port. After editing the ssh config and restarting the service, I can see from netstat -l that the sshd is ...
user2557789's user avatar
-3 votes
2 answers
90 views

How do I block SSH connections except those originating from within a /29 block of IP's or LAN? (CentOS 7 and Ubuntu 12) [closed]

I see thousands of failed login attempts on our servers and want to do what I can to prevent a successful one from the bad guys. I want to block anyone not originating from a /29 block we own from ...
iamnotzerocool's user avatar
0 votes
1 answer
444 views

Cannot find error in iptables firewall configuration

I'm struggling with a firewall problem on my Centos server. I have the following configuration which when I use it with a service iptables restart and I try to ssh to the server with putty, I cannot ...
Del's user avatar
  • 3
0 votes
0 answers
381 views

Remote packet capturing using fifo and dumpcap

I'm currently working on two linux servers where one server is running in 2.6.18-274.el5(Server A) and the second one in CentOS 7 (Server B). My requirement is to capture the packets of the network ...
BAdhi's user avatar
  • 121
6 votes
1 answer
19k views

Large number of ssh login attempts [duplicate]

I logged into a CentOS box today to find the following" There were 11126 failed login attempts since the last successful login. Last login: Tue Mar 10 14:36:47 2015 from X.X.X.X Thats 11 THOUSAND ...
fizzy drink's user avatar
0 votes
1 answer
117 views

ssh port is different from what is connected

Ok, so here's the deal. I setup an Iptables rule as follows: IPTABLES -A INPUT -p tcp --dport 51722 -j ACCEPT and if I do systemctl status sshd.service, I get the following: Server listening on 0....
fizzy drink's user avatar