limit login


SUBMITTED BY: nywato

DATE: Nov. 27, 2015, 9:39 p.m.

FORMAT: Text only

SIZE: 299 Bytes

HITS: 57619

  1. Membatasi user login ssh per IP
  2. # iptables -A INPUT -p tcp --syn --dport 143 -m connlimit --connlimit-above 2 -j REJECT
  3. port diatur sendiri, 2 adalah max
  4. # service iptables save
  5. # service iptables restart
  6. # chkconfig iptables on
  7. # iptables -n -L --> Chek
  8. # netstat -tulpn | less --> check

comments powered by Disqus