iptables attack close ssh

raw

etc/iptables.conf

1
2
3
4
5
6
7
8
9
10
*raw
:PREROUTING ACCEPT [199179:302566450]
:OUTPUT ACCEPT [587967:675961536]
:myrain - [0:0]
-A PREROUTING -i eth0 -j myrain
-A myrain -p tcp -s 88.198.148.245 --dport 22 -j ACCEPT
-A myrain -p tcp -s 208.43.231.8 --dport 22 -j ACCEPT
-A myrain -p tcp --dport 22 -j DROP
COMMIT
 
raw

phork0.txt

$ ls -lah --full-time /etc/iptables.conf 
-rw-r--r-- 1 root root 278 2018-07-14 20:39:30.002311896 -0400 /etc/iptables.conf
Christian Weiske Christian Weiske
owner

History