[ASK] IPTABLES

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
Post Reply
User avatar
lek_choir

[ASK] IPTABLES

Post 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
Contact:

Post 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


Post Reply

Who is online

Users browsing this forum: No registered users and 67 guests