iptables -F INPUT # Flush dulu semua rule INPUT
iptables -A INPUT -m iprange --src-range 192.168.1.1-192.168.1.4 -p tcp
--destination-port 443 -j ACCEPT # Ijinkan range IP address dari 192.168.1.1-4
iptables -A INPUT -p tcp --destination-port 443 -j DROP # block akses ke 443
untuk semua IP
Dear all,
Gimana sih command iptables agar user ip range tertentu hanya bisa buka
port 443 saja? udah coba beberapa kali masih lolos juga nih.
Salam
Andri Daniel
[Non-text portions of this message have been removed]
--
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia
Info,