[ASK] IPTABLES

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
lek_choir
Posts: 2
Joined: 18 Oct 2012, 09:03

[ASK] IPTABLES

Postby lek_choir » 08 Jul 2013, 21:03

[ask]
.
server ubuntu 12.04lft
client ubuntu 12.04lts
.
clien hanya dapat melakukan PING ke server sebanyak 3 kali saja selama 5 menit
.
menggunakan IPTABLES
User avatar
q_p
Posts: 3109
Joined: 14 Oct 2012, 13:01
Contact:

Re: [ASK] IPTABLES

Postby q_p » 09 Jul 2013, 00:23

Code: Select all

iptables -A OUTPUT -p icmp --icmp-type echo-request -s $ip-server -d $ip-client -m limit --limit 5/m --limit-burst 3 -j ACCEPT
iptables -A INPUT -p icmp --icmp-type echo-request -s $ip-client -d $ip-server -m limit --limit 5/m --limit-burst 3 -j ACCEPT

Return to “Pertanyaan Umum”

Who is online

Users browsing this forum: No registered users and 8 guests