Isi http://ixp.mikrotik.co.id/download/nice.rsc kira-kira sbb :
# Script untuk menambahkan IP Address BGP yang terdaftar di Router NICE(OIXP)
# ke RouterOS dalam ADDRESS-LIST dengan nama "nice"
# Script created by: Valens Riyadi @ www.mikrotik.co.id
# Generated at 26 January 2011 08:18:06 WIB ... 893 lines
# Generated in 64.545 seconds
# How-to: http://www.mikrotik.co.id/artikel_lihat.php?id=23
/sys note set show-at-login=yes note="Using nice.rsc from www.mikrotik.co.id, 26 January 2011 08:18:06 WIB, 893 lines."
/ip firewall address-list
add list=nice address="1.2.3.4"
remove [find list="nice"]
add list=nice address="182.0.0.0/12"
add list=nice address="114.120.0.0/13"
add list=nice address="120.168.0.0/13"
...
...
add list=nice address="216.244.94.0/24"
add list=nice address="220.247.172.0/24"
add list=nice address="223.27.147.0/24"
Untuk memasukkan daftar IP Address di atas, langkahnya adalah sbb :
- Jalankan Winbox
- Login ke Router Board yang dituju
- Jalankan Terminal
- Copy file nice.rsc, yaitu mulai dari baris "/ip firewall address-list" hingga akhir baris.
- Paste ke Terminal
- Tunggu beberapa saat hingga selesai.
- Menggunakan salah satu menu di Winbox, silahkan cek hasilnya melalui menu IP --> Firewall --> Address List.
[serpong@SRP] > /ip firewall address-list
[serpong@SRP] /ip firewall address-list> add list=nice address="1.2.3.4"
[serpong@SRP] /ip firewall address-list> remove [find list="nice"]
[serpong@SRP] /ip firewall address-list> add list=nice address="182.0.0.0/12"
[serpong@SRP] /ip firewall address-list> add list=nice address="114.120.0.0/13"
[serpong@SRP] /ip firewall address-list> add list=nice address="120.168.0.0/13"
...
...
[serpong@SRP] /ip firewall address-list> add list=nice address="216.244.94.0/24"
[serpong@SRP] /ip firewall address-list> add list=nice address="220.247.172.0/24"
[serpong@SRP] /ip firewall address-list> add list=nice address="223.27.147.0/24"
No comments:
Post a Comment