Batas login SSH per IP


SUBMITTED BY: nywato

DATE: Jan. 21, 2016, 2:50 a.m.

FORMAT: Text only

SIZE: 299 Bytes

HITS: 16872

  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