Friday, August 3, 2012

Cara Membuat YM Pingbox Pada Login Page Hotspot 

Anda ingin memasang yahoo massenger Pingbox pada login page hotspot anda seperti pada gambar :


Cara membuatnya :
  1. Klik http://id.messenger.yahoo.com/pingbox/ 
  2. Pilih menu Pingbox™ 
  3. Tekan tombol Buat Pingbox 
  4.  Di jendela Pingbox Baru tentukan tema latar belakang, nama tampilan (yaitu nama yang akan terlihat oleh pengujung yang chat), salam sambutan online, pesan saat offline, dan tentukan nama untuk setting kamu ini 
  5. Klik tombol simpan 
  6. Setelah itu akan muncul layar untuk masuk ke account email Yahoo, masukkan nama dan password email yahoo, jika belum punya daftar saja kan gratis 
  7. Akan muncul layar “Pingbox Baru siap ditambahkan ke situs web”, di situ memberikan pilihan apakan akan ke sembarang situs atau situs lain yang tersedia semisal friendster, blogger, wordpress dll 
  8. Dibawah akan muncul muncul kode untuk dicopy paste ke login page hotspot kita. 
  9. Untuk membypass pingbox,supaya costumer tidak perlu login dulu untuk bisa chat maka dibutuhkan beberapa script di miktorik :

  10. /ip hotspot walled-garden
    add action=allow disabled=no dst-host=*sp1.yahoo.com dst-port=80-4767
    add action=allow disabled=no dst-host=wgweb.msg.yahoo.com dst-port=80
    add action=allow disabled=no dst-host=us.yimg.com dst-port=80
    add action=allow disabled=no dst-host=opi.wgweb.msg.yahoo.com dst-port=80
    add action=allow disabled=no dst-host=l.yimg.com dst-port=80
    add action=allow disabled=no dst-host=img.msg.yahoo.com dst-port=80
Read More...

Saturday, July 28, 2012

Limit Download Berdasarkan ukuran file 

Jika anda ingin membatasi client anda yang suka mendonlod file-file yang ukurannya besar, anda dapat menggunakan scrip berikut ini

Misalkan
Ether1 = Publik
Ether2 = Lokal

1. Buat Connection Mark 

/ip firewall mangle
add chain=forward action=mark-connection new-connection-mark=download-con passthrough=yes protocol=tcp in-interface=Publik out-interface=Lokal connection-bytes=662146-4294967295

ket. file dengan ukuran 256kb ke atas akan kena limit

2. Buat Connection Mark

/ip firewall mangle
add chain=forward action=mark-packet new-packet-mark=download-pak passthrough=no protocol=tcp in-interface=Publik out-interface=Lokal connection-mark=download-con

3. Buat queue type

add name=shape kind=pcq pcq-rate=64000 pcq-limit=50 pcq-classifier=dst-address pcq-total-limit=2000

ket. 64000 kecepatan dibatasi 64 kbps

4. Buat queue Tree

add name="queue3" parent=global-out packet-mark=download-pak limit-at=0 queue=shape priority=8 max-limit=64k burst-limit=0 burst-threshold=0 burst-time=0s

 ket. 64000 kecepatan dibatasi 64 kbps
Read More...

Limit Download extension di mikrotik 

Jika anda ingin membatasi pemakaian bandwith, untuk beberapa extensi misalnya exe, rar, zip, mkv, dll misalkan ip client 192.168.10.0/24 berikut caranya :

Copy script berikut ke console mikrotik.

ip firewall filter add chain=forward src-address=192.168.10.0/24 protocol=tcp action=add-dst-to-address-list address-list=limit address-list-timeout=01:00:00 content=.iso comment=iso
ip firewall filter add chain=forward src-address=192.168.10.0/24 protocol=tcp action=add-dst-to-address-list address-list=limit address-list-timeout=01:00:00 content=.exe comment=exe
ip firewall filter add chain=forward src-address=192.168.10.0/24 protocol=tcp action=add-dst-to-address-list address-list=limit address-list-timeout=01:00:00 content=.flv comment=flv
ip firewall filter add chain=forward src-address=192.168.10.0/24 protocol=tcp action=add-dst-to-address-list address-list=limit address-list-timeout=01:00:00 content=.dat comment=dat
ip firewall filter add chain=forward src-address=192.168.10.0/24 protocol=tcp action=add-dst-to-address-list address-list=limit address-list-timeout=01:00:00 content=.mkv comment=mkv
ip firewall filter add chain=forward src-address=192.168.10.0/24 protocol=tcp action=add-dst-to-address-list address-list=limit address-list-timeout=01:00:00 content=.rar comment=rar
ip firewall filter add chain=forward src-address=192.168.10.0/24 protocol=tcp action=add-dst-to-address-list address-list=limit address-list-timeout=01:00:00 content=.zip comment=zip 
ip firewall filter add chain=forward src-address=192.168.10.0/24 protocol=tcp action=add-dst-to-address-list address-list=limit address-list-timeout=01:00:00 content=.3gp comment=3gp
ip firewall filter add chain=forward src-address=192.168.10.0/24 protocol=tcp action=add-dst-to-address-list address-list=limit address-list-timeout=01:00:00 content=.mp4 comment=mp4
ip firewall filter add chain=forward src-address=192.168.10.0/24 protocol=tcp action=add-dst-to-address-list address-list=limit address-list-timeout=01:00:00 content=.mp3 comment=mp3
ip firewall filter add chain=forward src-address=192.168.10.0/24 protocol=tcp action=add-dst-to-address-list address-list=limit address-list-timeout=01:00:00 content=.mpeg comment=mpeg
ip firewall filter add chain=forward src-address=192.168.10.0/24 protocol=tcp action=add-dst-to-address-list address-list=limit address-list-timeout=01:00:00 content=.avi comment=avi

ulangi cara di atas jika ingin menambahkan extensi lain

ip firewall mangle add chain=forward protocol=tcp src-address-list=limit action=mark-packet new-packet-mark=limit-bw-by-extension 
queue simple add max-limit=32000/64000 packet-marks=limit-bw-by-extension 
ket : max-limit=32000/64000 berarti kecepatan donlotnya 64 kbps
Read More...



Copy script dibawah ini di console mikrotik 

[admin@mikrotik] /ip firewall filter>

add chain=forward connection-state=established comment=”allowestablishedconnections”
add chain=forward connection-state=related comment=”allowrelatedconnections”
add chain=forward connection-state=invalid action=drop comment=”dropinvalidconnections”
add chain=virus protocol=udp action=drop dst-port=1 
add chain=virus protocol=tcp action=drop dst-port=2 
add chain=virus protocol=tcp action=drop dst-port=20 
add chain=virus protocol=tcp action=drop dst-port=21 

add chain=virus protocol=tcp action=drop dst-port=22 
add chain=virus protocol=tcp action=drop dst-port=23 
add chain=virus protocol=tcp action=drop dst-port=25 
add chain=virus protocol=tcp action=drop dst-port=30 
add chain=virus protocol=tcp action=drop dst-port=31 
add chain=virus protocol=tcp action=drop dst-port=41 
add chain=virus protocol=tcp action=drop dst-port=48 
add chain=virus protocol=tcp action=drop dst-port=50 
add chain=virus protocol=tcp action=drop dst-port=58 
add chain=virus protocol=tcp action=drop dst-port=59
add chain=virus protocol=udp action=drop dst-port=67 
add chain=virus protocol=tcp action=drop dst-port=79 
add chain=virus protocol=tcp action=drop dst-port=81 
add chain=virus protocol=tcp action=drop dst-port=99
add chain=virus protocol=udp action=drop dst-port=104 
add chain=virus protocol=tcp action=drop dst-port=113 
add chain=virus protocol=tcp action=drop dst-port=119 
add chain=virus protocol=tcp action=drop dst-port=121 
add chain=virus protocol=tcp action=drop dst-port=123 
add chain=virus protocol=tcp action=drop dst-port=133 
add chain=virus protocol=tcp action=drop dst-port=135-139 
add chain=virus protocol=udp action=drop dst-port=135-139 
add chain=virus protocol=tcp action=drop dst-port=142 
add chain=virus protocol=tcp action=drop dst-port=146 
add chain=virus protocol=udp action=drop dst-port=146 
add chain=virus protocol=tcp action=drop dst-port=170
add chain=virus protocol=udp action=drop dst-port=220
add chain=virus protocol=udp action=drop dst-port=228
add chain=virus protocol=udp action=drop dst-port=303
add chain=virus protocol=tcp action=drop dst-port=334 
add chain=virus protocol=tcp action=drop dst-port=411 
add chain=virus protocol=tcp action=drop dst-port=420 
add chain=virus protocol=tcp action=drop dst-port=421
add chain=virus protocol=udp action=drop dst-port=425 
add chain=virus protocol=tcp action=drop dst-port=444-447 
add chain=virus protocol=udp action=drop dst-port=444-447 
add chain=virus protocol=tcp action=drop dst-port=455 
add chain=virus protocol=tcp action=drop dst-port=456
add chain=virus protocol=udp action=drop dst-port=462 
add chain=virus protocol=tcp action=drop dst-port=513 
add chain=virus protocol=udp action=drop dst-port=513
add chain=virus protocol=tcp action=drop dst-port=514
add chain=virus protocol=udp action=drop dst-port=524 
add chain=virus protocol=tcp action=drop dst-port=531 
add chain=virus protocol=tcp action=drop dst-port=555 
add chain=virus protocol=tcp action=drop dst-port=605 
add chain=virus protocol=tcp action=drop dst-port=666 
add chain=virus protocol=tcp action=drop dst-port=667 
add chain=virus protocol=tcp action=drop dst-port=669 
add chain=virus protocol=tcp action=drop dst-port=692
add chain=virus protocol=udp action=drop dst-port=738 
add chain=virus protocol=tcp action=drop dst-port=777 
add chain=virus protocol=tcp action=drop dst-port=808 
add chain=virus protocol=tcp action=drop dst-port=911
add chain=virus protocol=udp action=drop dst-port=931 
add chain=virus protocol=tcp action=drop dst-port=999 
add chain=virus protocol=tcp action=drop dst-port=1000 
add chain=virus protocol=tcp action=drop dst-port=1001 
add chain=virus protocol=tcp action=drop dst-port=1010-1016 
add chain=virus protocol=tcp action=drop dst-port=1020 
add chain=virus protocol=tcp action=drop dst-port=1024 
add chain=virus protocol=tcp action=drop dst-port=1025 
add chain=virus protocol=udp action=drop dst-port=1025 
add chain=virus protocol=tcp action=drop dst-port=1035 
add chain=virus protocol=tcp action=drop dst-port=1042 
add chain=virus protocol=tcp action=drop dst-port=1045 
add chain=virus protocol=tcp action=drop dst-port=1049 
add chain=virus protocol=tcp action=drop dst-port=1050 
add chain=virus protocol=tcp action=drop dst-port=1053 
add chain=virus protocol=tcp action=drop dst-port=1054
add chain=virus protocol=udp action=drop dst-port=1067
add chain=virus protocol=udp action=drop dst-port=1070
add chain=virus protocol=tcp action=drop dst-port=1080-1083 
add chain=virus protocol=tcp action=drop dst-port=1090 
add chain=virus protocol=tcp action=drop dst-port=1095-1098 
add chain=virus protocol=tcp action=drop dst-port=1099 
add chain=virus protocol=tcp action=drop dst-port=1150-1151 
add chain=virus protocol=tcp action=drop dst-port=1170 
add chain=virus protocol=udp action=drop dst-port=1200-1201 
add chain=virus protocol=tcp action=drop dst-port=1207 
add chain=virus protocol=tcp action=drop dst-port=1208 
add chain=virus protocol=tcp action=drop dst-port=1212 
add chain=virus protocol=tcp action=drop dst-port=1234 
add chain=virus protocol=tcp action=drop dst-port=1243 
add chain=virus protocol=tcp action=drop dst-port=1245 
add chain=virus protocol=tcp action=drop dst-port=1255 
add chain=virus protocol=tcp action=drop dst-port=1256 
add chain=virus protocol=tcp action=drop dst-port=1269
add chain=virus protocol=udp action=drop dst-port=1270
add chain=virus protocol=tcp action=drop dst-port=1272 
add chain=virus protocol=tcp action=drop dst-port=1313 
add chain=virus protocol=tcp action=drop dst-port=1338 
add chain=virus protocol=tcp action=drop dst-port=1349 
add chain=virus protocol=tcp action=drop dst-port=1394 
add chain=virus protocol=udp action=drop dst-port=1402
add chain=virus protocol=udp action=drop dst-port=1424
add chain=virus protocol=tcp action=drop dst-port=1441 
add chain=virus protocol=tcp action=drop dst-port=1492 
add chain=virus protocol=tcp action=drop dst-port=1524
add chain=virus protocol=udp action=drop dst-port=1547
add chain=virus protocol=tcp action=drop dst-port=1568
add chain=virus protocol=udp action=drop dst-port=1580
add chain=virus protocol=udp action=drop dst-port=1590
add chain=virus protocol=tcp action=drop dst-port=1600
add chain=virus protocol=udp action=drop dst-port=1641
add chain=virus protocol=udp action=drop dst-port=1643
add chain=virus protocol=udp action=drop dst-port=1658
add chain=virus protocol=tcp action=drop dst-port=1703 
add chain=virus protocol=tcp action=drop dst-port=1777 
add chain=virus protocol=udp action=drop dst-port=1776
add chain=virus protocol=tcp action=drop dst-port=1807
add chain=virus protocol=udp action=drop dst-port=1862
add chain=virus protocol=udp action=drop dst-port=1904
add chain=virus protocol=tcp action=drop dst-port=1966 
add chain=virus protocol=tcp action=drop dst-port=1967 
add chain=virus protocol=tcp action=drop dst-port=1969 
add chain=virus protocol=tcp action=drop dst-port=1981 
add chain=virus protocol=tcp action=drop dst-port=1999
add chain=virus protocol=tcp action=drop dst-port=2000 
add chain=virus protocol=tcp action=drop dst-port=2001 
add chain=virus protocol=tcp action=drop dst-port=2023 
add chain=virus protocol=tcp action=drop dst-port=2080 
add chain=virus protocol=tcp action=drop dst-port=2115 
add chain=virus protocol=udp action=drop dst-port=2130 
add chain=virus protocol=tcp action=drop dst-port=2140 
add chain=virus protocol=udp action=drop dst-port=2140 
add chain=virus protocol=tcp action=drop dst-port=2155 
add chain=virus protocol=tcp action=drop dst-port=2255 
add chain=virus protocol=tcp action=drop dst-port=2283 
add chain=virus protocol=tcp action=drop dst-port=2300 
add chain=virus protocol=tcp action=drop dst-port=2311 
add chain=virus protocol=tcp action=drop dst-port=2330-2339 
add chain=virus protocol=udp action=drop dst-port=2339 
add chain=virus protocol=tcp action=drop dst-port=2345 
add chain=virus protocol=tcp action=drop dst-port=2565 
add chain=virus protocol=tcp action=drop dst-port=2583 
add chain=virus protocol=tcp action=drop dst-port=2600 
add chain=virus protocol=tcp action=drop dst-port=2716 
add chain=virus protocol=tcp action=drop dst-port=2773-2774 
add chain=virus protocol=tcp action=drop dst-port=2801 
add chain=virus protocol=udp action=drop dst-port=2989
add chain=virus protocol=udp action=drop dst-port=2090
add chain=virus protocol=udp action=drop dst-port=2464
add chain=virus protocol=udp action=drop dst-port=2504
add chain=virus protocol=tcp action=drop dst-port=3212
add chain=virus protocol=udp action=drop dst-port=2579
add chain=virus protocol=udp action=drop dst-port=2590
add chain=virus protocol=udp action=drop dst-port=2622
add chain=virus protocol=udp action=drop dst-port=2682
add chain=virus protocol=udp action=drop dst-port=2874
add chain=virus protocol=tcp action=drop dst-port=3000 
add chain=virus protocol=tcp action=drop dst-port=3024 
add chain=virus protocol=tcp action=drop dst-port=3031
add chain=virus protocol=udp action=drop dst-port=3015
add chain=virus protocol=udp action=drop dst-port=3343
add chain=virus protocol=udp action=drop dst-port=3373
add chain=virus protocol=udp action=drop dst-port=3519
add chain=virus protocol=udp action=drop dst-port=3520
add chain=virus protocol=udp action=drop dst-port=3600
add chain=virus protocol=udp action=drop dst-port=3640
add chain=virus protocol=udp action=drop dst-port=3697
add chain=virus protocol=udp action=drop dst-port=3702
add chain=virus protocol=udp action=drop dst-port=3724
add chain=virus protocol=udp action=drop dst-port=3812
add chain=virus protocol=udp action=drop dst-port=3940
add chain=virus protocol=udp action=drop dst-port=3959
add chain=virus protocol=tcp action=drop dst-port=3128 
add chain=virus protocol=tcp action=drop dst-port=3129 
add chain=virus protocol=tcp action=drop dst-port=3150 
add chain=virus protocol=udp action=drop dst-port=3150 
add chain=virus protocol=tcp action=drop dst-port=3456 
add chain=virus protocol=tcp action=drop dst-port=3459 
add chain=virus protocol=tcp action=drop dst-port=3700 
add chain=virus protocol=tcp action=drop dst-port=3777 
add chain=virus protocol=tcp action=drop dst-port=3791-3801 
add chain=virus protocol=tcp action=drop dst-port=4000 
add chain=virus protocol=tcp action=drop dst-port=4092 
add chain=virus protocol=tcp action=drop dst-port=4242 
add chain=virus protocol=tcp action=drop dst-port=4321
add chain=virus protocol=udp action=drop dst-port=4018
add chain=virus protocol=udp action=drop dst-port=4019
add chain=virus protocol=udp action=drop dst-port=4080
add chain=virus protocol=udp action=drop dst-port=4094
add chain=virus protocol=udp action=drop dst-port=4203
add chain=virus protocol=udp action=drop dst-port=4225
add chain=virus protocol=udp action=drop dst-port=4369 
add chain=virus protocol=tcp action=drop dst-port=4444 
add chain=virus protocol=tcp action=drop dst-port=4567 
add chain=virus protocol=tcp action=drop dst-port=4590 
add chain=virus protocol=tcp action=drop dst-port=4950
add chain=virus protocol=udp action=drop dst-port=4451
add chain=virus protocol=udp action=drop dst-port=4594
add chain=virus protocol=udp action=drop dst-port=4755
add chain=virus protocol=udp action=drop dst-port=4770
add chain=virus protocol=udp action=drop dst-port=4879
add chain=virus protocol=udp action=drop dst-port=4956
add chain=virus protocol=udp action=drop dst-port=4962
add chain=virus protocol=udp action=drop dst-port=4984
add chain=virus protocol=udp action=drop dst-port=4974 
add chain=virus protocol=tcp action=drop dst-port=5000 
add chain=virus protocol=tcp action=drop dst-port=5001 
add chain=virus protocol=tcp action=drop dst-port=5002 
add chain=virus protocol=tcp action=drop dst-port=5010 
add chain=virus protocol=tcp action=drop dst-port=5011 
add chain=virus protocol=tcp action=drop dst-port=5025
add chain=virus protocol=tcp action=drop dst-port=5031-5032 
add chain=virus protocol=tcp action=drop dst-port=5321 
add chain=virus protocol=tcp action=drop dst-port=5333 
add chain=virus protocol=tcp action=drop dst-port=5343 
add chain=virus protocol=udp action=drop dst-port=5355
add chain=virus protocol=tcp action=drop dst-port=5400-5402 
add chain=virus protocol=tcp action=drop dst-port=5512 
add chain=virus protocol=tcp action=drop dst-port=5534 
add chain=virus protocol=tcp action=drop dst-port=5550 
add chain=virus protocol=tcp action=drop dst-port=5555 
add chain=virus protocol=tcp action=drop dst-port=5556-5557 
add chain=virus protocol=tcp action=drop dst-port=5569 
add chain=virus protocol=tcp action=drop dst-port=5637-5638 
add chain=virus protocol=tcp action=drop dst-port=5742 
add chain=virus protocol=tcp action=drop dst-port=5760 
add chain=virus protocol=tcp action=drop dst-port=5880-5889 
add chain=virus protocol=tcp action=drop dst-port=6000 
add chain=virus protocol=tcp action=drop dst-port=6006 
add chain=virus protocol=tcp action=drop dst-port=6286
add chain=virus protocol=tcp action=drop dst-port=6272 
add chain=virus protocol=tcp action=drop dst-port=6400 
add chain=virus protocol=tcp action=drop dst-port=6661 
add chain=virus protocol=tcp action=drop dst-port=6666 
add chain=virus protocol=tcp action=drop dst-port=6667 
add chain=virus protocol=tcp action=drop dst-port=6669 
add chain=virus protocol=tcp action=drop dst-port=6670 
add chain=virus protocol=tcp action=drop dst-port=6711 
add chain=virus protocol=tcp action=drop dst-port=6712 
add chain=virus protocol=tcp action=drop dst-port=6713 
add chain=virus protocol=tcp action=drop dst-port=6723 
add chain=virus protocol=tcp action=drop dst-port=6771 
add chain=virus protocol=tcp action=drop dst-port=6776 
add chain=virus protocol=udp action=drop dst-port=6838 
add chain=virus protocol=tcp action=drop dst-port=6883 
add chain=virus protocol=tcp action=drop dst-port=6912 
add chain=virus protocol=tcp action=drop dst-port=6939 
add chain=virus protocol=tcp action=drop dst-port=6969-6970 
add chain=virus protocol=tcp action=drop dst-port=7000 
add chain=virus protocol=tcp action=drop dst-port=7001 
add chain=virus protocol=tcp action=drop dst-port=7215 
add chain=virus protocol=tcp action=drop dst-port=7300-7308 
add chain=virus protocol=tcp action=drop dst-port=7424 
add chain=virus protocol=udp action=drop dst-port=7424 
add chain=virus protocol=tcp action=drop dst-port=7597 
add chain=virus protocol=tcp action=drop dst-port=7626 
add chain=virus protocol=tcp action=drop dst-port=7777 
add chain=virus protocol=tcp action=drop dst-port=7789 
add chain=virus protocol=tcp action=drop dst-port=7891 
add chain=virus protocol=tcp action=drop dst-port=7983 
add chain=virus protocol=tcp action=drop dst-port=8787 
add chain=virus protocol=tcp action=drop dst-port=8988 
add chain=virus protocol=tcp action=drop dst-port=8989 
add chain=virus protocol=tcp action=drop dst-port=9000 
add chain=virus protocol=udp action=drop dst-port=9325 
add chain=virus protocol=tcp action=drop dst-port=9400 
add chain=virus protocol=tcp action=drop dst-port=9872-9875 
add chain=virus protocol=tcp action=drop dst-port=9876 
add chain=virus protocol=tcp action=drop dst-port=9878 
add chain=virus protocol=tcp action=drop dst-port=9989 
add chain=virus protocol=tcp action=drop dst-port=9999 
add chain=virus protocol=tcp action=drop dst-port=10000-10005 
add chain=virus protocol=udp action=drop dst-port=10067 
add chain=virus protocol=tcp action=drop dst-port=10085-10086 
add chain=virus protocol=tcp action=drop dst-port=10100 
add chain=virus protocol=tcp action=drop dst-port=10101 
add chain=virus protocol=udp action=drop dst-port=10167 
add chain=virus protocol=tcp action=drop dst-port=10520 
add chain=virus protocol=tcp action=drop dst-port=10528 
add chain=virus protocol=tcp action=drop dst-port=10607 
add chain=virus protocol=udp action=drop dst-port=10666 
add chain=virus protocol=tcp action=drop dst-port=11000 
add chain=virus protocol=tcp action=drop dst-port=11050-11051 
add chain=virus protocol=tcp action=drop dst-port=11223 
add chain=virus protocol=tcp action=drop dst-port=12076 
add chain=virus protocol=tcp action=drop dst-port=12223 
add chain=virus protocol=tcp action=drop dst-port=12345 
add chain=virus protocol=tcp action=drop dst-port=12346 
add chain=virus protocol=tcp action=drop dst-port=12349 
add chain=virus protocol=tcp action=drop dst-port=12361-12363 
add chain=virus protocol=udp action=drop dst-port=12623 
add chain=virus protocol=tcp action=drop dst-port=12624 
add chain=virus protocol=tcp action=drop dst-port=12631 
add chain=virus protocol=tcp action=drop dst-port=12754 
add chain=virus protocol=tcp action=drop dst-port=13000 
add chain=virus protocol=tcp action=drop dst-port=13010 
add chain=virus protocol=tcp action=drop dst-port=13013-13014 
add chain=virus protocol=tcp action=drop dst-port=13223 
add chain=virus protocol=tcp action=drop dst-port=13473 
add chain=virus protocol=tcp action=drop dst-port=14500-14503 
add chain=virus protocol=tcp action=drop dst-port=15000 
add chain=virus protocol=tcp action=drop dst-port=15092 
add chain=virus protocol=tcp action=drop dst-port=15104 
add chain=virus protocol=tcp action=drop dst-port=15382 
add chain=virus protocol=tcp action=drop dst-port=15858 
add chain=virus protocol=tcp action=drop dst-port=16484 
add chain=virus protocol=tcp action=drop dst-port=16660 
add chain=virus protocol=tcp action=drop dst-port=16772 
add chain=virus protocol=tcp action=drop dst-port=16959 
add chain=virus protocol=tcp action=drop dst-port=16969 
add chain=virus protocol=tcp action=drop dst-port=17166 
add chain=virus protocol=tcp action=drop dst-port=17300 
add chain=virus protocol=tcp action=drop dst-port=17449 
add chain=virus protocol=tcp action=drop dst-port=17499-17500 
add chain=virus protocol=tcp action=drop dst-port=17569 
add chain=virus protocol=tcp action=drop dst-port=17593 
add chain=virus protocol=tcp action=drop dst-port=17777 
add chain=virus protocol=udp action=drop dst-port=18753 
add chain=virus protocol=tcp action=drop dst-port=19864 
add chain=virus protocol=tcp action=drop dst-port=20000 
add chain=virus protocol=tcp action=drop dst-port=20001 
add chain=virus protocol=tcp action=drop dst-port=20002 
add chain=virus protocol=tcp action=drop dst-port=20005 
add chain=virus protocol=tcp action=drop dst-port=20023 
add chain=virus protocol=tcp action=drop dst-port=20034 
add chain=virus protocol=tcp action=drop dst-port=20203 
add chain=virus protocol=tcp action=drop dst-port=20331 
add chain=virus protocol=tcp action=drop dst-port=20432 
add chain=virus protocol=udp action=drop dst-port=20433 
add chain=virus protocol=tcp action=drop dst-port=21544 
add chain=virus protocol=tcp action=drop dst-port=21554 
add chain=virus protocol=tcp action=drop dst-port=22222 
add chain=virus protocol=tcp action=drop dst-port=23005-23006 
add chain=virus protocol=tcp action=drop dst-port=23023 
add chain=virus protocol=tcp action=drop dst-port=23032 
add chain=virus protocol=tcp action=drop dst-port=23432 
add chain=virus protocol=tcp action=drop dst-port=23456 
add chain=virus protocol=tcp action=drop dst-port=23476 
add chain=virus protocol=udp action=drop dst-port=23476 
add chain=virus protocol=tcp action=drop dst-port=23477 
add chain=virus protocol=tcp action=drop dst-port=23777 
add chain=virus protocol=tcp action=drop dst-port=24000 
add chain=virus protocol=tcp action=drop dst-port=25685-25982 
add chain=virus protocol=udp action=drop dst-port=26274 
add chain=virus protocol=tcp action=drop dst-port=26681 
add chain=virus protocol=tcp action=drop dst-port=27374 
add chain=virus protocol=udp action=drop dst-port=27444 
add chain=virus protocol=tcp action=drop dst-port=27573 
add chain=virus protocol=tcp action=drop dst-port=27665 
add chain=virus protocol=tcp action=drop dst-port=28678 
add chain=virus protocol=tcp action=drop dst-port=29104 
add chain=virus protocol=tcp action=drop dst-port=29369 
add chain=virus protocol=tcp action=drop dst-port=29891 
add chain=virus protocol=tcp action=drop dst-port=30000 
add chain=virus protocol=tcp action=drop dst-port=30001 
add chain=virus protocol=tcp action=drop dst-port=30003
add chain=virus protocol=tcp action=drop dst-port=30029 
add chain=virus protocol=tcp action=drop dst-port=30100-30133 
add chain=virus protocol=udp action=drop dst-port=30103 
add chain=virus protocol=tcp action=drop dst-port=30303 
add chain=virus protocol=tcp action=drop dst-port=30947 
add chain=virus protocol=tcp action=drop dst-port=30999 
add chain=virus protocol=tcp action=drop dst-port=31335 
add chain=virus protocol=tcp action=drop dst-port=31336 
add chain=virus protocol=tcp action=drop dst-port=31337 
add chain=virus protocol=udp action=drop dst-port=31337 
add chain=virus protocol=tcp action=drop dst-port=31338 
add chain=virus protocol=udp action=drop dst-port=31338 
add chain=virus protocol=tcp action=drop dst-port=31339 
add chain=virus protocol=tcp action=drop dst-port=31666 
add chain=virus protocol=tcp action=drop dst-port=31785-31792 
add chain=virus protocol=udp action=drop dst-port=31791-31792 
add chain=virus protocol=tcp action=drop dst-port=32001 
add chain=virus protocol=tcp action=drop dst-port=32100 
add chain=virus protocol=tcp action=drop dst-port=32418 
add chain=virus protocol=tcp action=drop dst-port=33270 
add chain=virus protocol=tcp action=drop dst-port=33333 
add chain=virus protocol=tcp action=drop dst-port=33577-33777 
add chain=virus protocol=tcp action=drop dst-port=33911 
add chain=virus protocol=tcp action=drop dst-port=34324 
add chain=virus protocol=tcp action=drop dst-port=34444 
add chain=virus protocol=udp action=drop dst-port=34555-35555 
add chain=virus protocol=tcp action=drop dst-port=37237 
add chain=virus protocol=tcp action=drop dst-port=37651 
add chain=virus protocol=tcp action=drop dst-port=40412 
add chain=virus protocol=tcp action=drop dst-port=40421 
add chain=virus protocol=tcp action=drop dst-port=40422-40426 
add chain=virus protocol=tcp action=drop dst-port=41337 
add chain=virus protocol=tcp action=drop dst-port=41666 
add chain=virus protocol=tcp action=drop dst-port=44444 
add chain=virus protocol=tcp action=drop dst-port=44575 
add chain=virus protocol=udp action=drop dst-port=47262 
add chain=virus protocol=tcp action=drop dst-port=49301 
add chain=virus protocol=tcp action=drop dst-port=50130 
add chain=virus protocol=tcp action=drop dst-port=50505 
add chain=virus protocol=tcp action=drop dst-port=50766 
add chain=virus protocol=tcp action=drop dst-port=51966 
add chain=virus protocol=tcp action=drop dst-port=52317 
add chain=virus protocol=tcp action=drop dst-port=53001 
add chain=virus protocol=tcp action=drop dst-port=54283 
add chain=virus protocol=tcp action=drop dst-port=54320 
add chain=virus protocol=tcp action=drop dst-port=54321 
add chain=virus protocol=tcp action=drop dst-port=55165 
add chain=virus protocol=tcp action=drop dst-port=55166 
add chain=virus protocol=tcp action=drop dst-port=57341 
add chain=virus protocol=tcp action=drop dst-port=58339 
add chain=virus protocol=tcp action=drop dst-port=60000 
add chain=virus protocol=tcp action=drop dst-port=60001 
add chain=virus protocol=tcp action=drop dst-port=60068 
add chain=virus protocol=tcp action=drop dst-port=60411 
add chain=virus protocol=tcp action=drop dst-port=61348 
add chain=virus protocol=tcp action=drop dst-port=61466 
add chain=virus protocol=tcp action=drop dst-port=61603 
add chain=virus protocol=tcp action=drop dst-port=63485 
add chain=virus protocol=tcp action=drop dst-port=64101
add chain=virus protocol=tcp action=drop dst-port=64875
add chain=virus protocol=tcp action=drop dst-port=65000 
add chain=virus protocol=tcp action=drop dst-port=65390 
add chain=virus protocol=tcp action=drop dst-port=65421 
add chain=virus protocol=tcp action=drop dst-port=65432 
add chain=virus protocol=udp action=drop dst-port=65432 
add chain=virus protocol=tcp action=drop dst-port=65534 
add chain=virus protocol=tcp action=drop dst-port=65535
add chain=virus protocol=udp action=drop dst-port=4112
add chain=virus protocol=udp action=drop dst-port=1194
add chain=virus protocol=udp action=drop dst-port=2865
add chain=virus protocol=udp action=drop dst-port=5000
add chain=virus protocol=udp action=drop dst-port=3629
add chain=virus protocol=udp action=drop dst-port=12009
add chain=virus protocol=udp action=drop dst-port=12975
add chain=virus protocol=udp action=drop dst-port=1723
add chain=virus protocol=udp action=drop dst-port=1224
add chain=virus protocol=udp action=drop dst-port=4090
add chain=virus protocol=udp action=drop dst-port=32976
add chain=virus protocol=udp action=drop dst-port=7785
add chain=virus protocol=udp action=drop dst-port=7784
add chain=virus protocol=udp action=drop dst-port=7842
add chain=virus protocol=udp action=drop dst-port=1900
add chain=virus protocol=tcp action=drop dst-port=6005
add chain=virus protocol=udp action=drop dst-port=7783
add chain=virus protocol=tcp action=drop dst-port=64874
add chain=virus protocol=udp action=drop dst-port=49026
add chain=virus protocol=udp action=drop dst-port=25482
add chain=virus protocol=udp action=drop dst-port=16001
add chain=virus protocol=udp action=drop dst-port=10761
add chain=virus protocol=udp action=drop dst-port=7659
add chain=virus protocol=udp action=drop dst-port=7659
add chain=virus protocol=udp action=drop dst-port=7167
add chain=virus protocol=udp action=drop dst-port=5972
add chain=virus protocol=udp action=drop dst-port=5891
add chain=virus protocol=tcp action=drop dst-port=6881
add chain=virus protocol=udp action=drop dst-port=5355
add chain=virus protocol=udp action=drop dst-port=51575
add chain=virus protocol=tcp action=drop dst-port=64874
add chain=virus protocol=tcp action=drop dst-port=40013-40015
add chain=virus protocol=udp action=drop dst-port=40001-40031
add chain=virus protocol=udp action=drop dst-port=16464
add chain=virus protocol=tcp action=drop dst-port=8103
add chain=forward action=jump jump-target=virus comment="jump to the virus chain"
add chain=forward action=accept protocol=tcp dst-port=80 comment=”AllowHTTP”
add chain=forward action=accept protocol=tcp dst-port=443 comment=”Allowhttps”
add chain=forward protocol=tcp comment=”allowTCP”
add chain=forward protocol=icmp comment=”allowping”
add chain=forward protocol=udp comment=”allowudp”
add chain=forward action=drop comment=”dropeverythingelse”

Read More...

Tuesday, November 29, 2011

Load balancing pcc mikrotik

Trik ini sudah kami coba dan Alhamdulillah berhasil...

kami menggunakan RB750 dengan 5 port, berikut konfigurasinya

/ip address
add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=Local
add address=192.168.1.2/24 network=192.168.1.0 broadcast=192.168.1.255 interface=WAN1
add address=192.168.2.2/24 network=192.168.2.0 broadcast=192.168.2.255 interface=WAN2

/ip dns set allow-remote-requests=yes cache-max-ttl=1w cache-size=5000KiB max-udp-packet-size=512 servers=221.132.112.8,8.8.8.8

/ip firewall mangle
add chain=input in-interface=WAN1 action=mark-connection new-connection-mark=WAN1_conn
add chain=input in-interface=WAN2 action=mark-connection new-connection-mark=WAN2_conn

add chain=output connection-mark=WAN1_conn action=mark-routing new-routing-mark=to_WAN1
add chain=output connection-mark=WAN2_conn action=mark-routing new-routing-mark=to_WAN2

add chain=prerouting dst-address=192.168.1.0/24 action=accept in-interface=Local
add chain=prerouting dst-address=192.168.2.0/24 action=accept in-interface=Local

add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses-and-ports:2/0 action=mark-connection new-connection-mark=WAN1_conn passthrough=yes
add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses-and-ports:2/1 action=mark-connection new-connection-mark=WAN2_conn passthrough=yes

add chain=prerouting connection-mark=WAN1_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN1
add chain=prerouting connection-mark=WAN2_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN2

/ip route
add dst-address=0.0.0.0/0 gateway=192.168.1.1 routing-mark=to_WAN1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.2.1 routing-mark=to_WAN2 check-gateway=ping

add dst-address=0.0.0.0/0 gateway=192.168.1.1 distance=1 check-gateway=ping
add dst-address=0.0.0.0/0 gateway=192.168.2.1 distance=2 check-gateway=ping

/ip firewall nat
add chain=srcnat out-interface=WAN1 action=masquerade
add chain=srcnat out-interface=WAN2 action=masquerade
Read More...

Saturday, July 2, 2011

Menulis Huruf Arab dengan Nonosoft Khot

Nonosoft KHOT, merupakan program editor teks khusus yang digunakan untuk menulis dengan font Arab yang disertai tanda harokat (fatha, kasra, domma, tasdid, sukun, dsb). Nonosoft KHOT mempunyai sistem penulisan berbeda (tidak kompatibel) dengan sistem arabic bawaan Windows, sehingga dokumen yang huruf-huruf arabnya diketik menggunakan Nonosoft KHOT tidak bisa diedit oleh editor arabic semacam Office Arabic ataupun semua editor yang menggunakan sistem unicode dalam penulisan arabicnya, begitu pula sebaliknya.


Dengan demikian Nonosoft KHOT tidak memiliki kemampuan seperti editor yang menggunakan sistem arabic unicode, dimana dalam perubahan bentuk huruf dan format paragraf sepenuhnya diatur oleh lingkungan windows. Selain itu sifat tulisan arabnya tidak universal, misalnya tidak bisa langsung digunakan pada penulisan huruf arab di website atau semua aplikasi online tanpa menyertakan/menginstal font-font pendukungnya pada komputer user.

Meski dengan keterbasan-keterbatasan tersebut, Nonosoft KHOT juga mempunyai fitur yang tidak terdapat pada editor-editor yang lain. Dan memang pemilihan sistem penulisan arabic yang berbeda dengan bawaan windows, sudah diniatkan sejak awal pengembangan agar Nonosoft KHOT memiliki ciri tersendiri diantara berbagai software editor teks arab yang ada. Karena fasilitas pengaturan dokumennya belum sebaik MS-Office, Adobe, Corel atau software-software yang sudah mapan dan dikembangkan oleh perusahaan-perusahaan besar, maka pengoperasian Nonosoft KHOT (jika untuk kebutuhan layout/percetakan) ebaiknya digunakan bersama editor-editor teks/gambar tersebut agar mendapatkan hasil yang maksimal.

Untuk mendukung hal itu, pada proses copy/paste di versi 3 sudah ditambahkan beberapa format selain RTF (Rich Text Format) yang sudah ada sejak versi 1, yaitu format HTML, Image Metafile dan Bitmap. Dengan kemampuan copy/paste dalam beberapa format tersebut, menjadikan tulisan arab dari Nonosoft KHOT dapat dipindah ke berbagai editor teks/gambar dengan mudah.

Untuk demo dan pemesanan Nonosoft KHOT 3 silahkan kunjungi http://www.nonosoft.jifisa.net/

Atau anda ingin mencoba Nonosoft khot versi 2.0.3 full version silahkan download disini dan petujuk penggunaannya download disini dan program virtual drive Alkohol 120% download disini
Read More...