Memisahkan IIX ke ISP wireless dan Internasional

on Monday, April 6, 2009

1. Bikin src-address list dengan nama nise


2. atau dengan copy-paste src-address yg di sediain oleh nise


http://www.datautama.net.id/harijant...utama-nice.php


copy-paste bisa di lakukan dari putty.exe


3. Bikin mangel / supaya tau itu koneksi & paket nya dateng dari lokal ato international


/ ip firewall mangle


- add chain=forward src-address-list=nice action=mark-connection \


new-connection-mark=con-indonesia passthrough=yes comment="mark all \


indonesia source connection traffic" disabled=no


----> untuk lokal


- add chain=forward dst-address-list=nice action=mark-connection \


new-connection-mark=con-indonesia passthrough=yes comment="mark all \


indonesia destination connection traffic" disabled=no ----> untuk lokal


- add chain=forward src-address-list=!nice action=mark-connection \


new-connection-mark=con-overseas passthrough=yes comment="mark all \


overseas source connection traffic" disabled=no ---> Untuk International


- add chain=forward dst-address-list=!nice action=mark-connection \


new-connection-mark=con-overseas passthrough=yes comment="mark all \


overseas destination connection traffic" disabled=no


- add chain=prerouting connection-mark=con-indonesia action=mark-packet \


new-packet-mark=indonesia passthrough=yes comment="mark all indonesia \


traffic" disabled=no ---> paket lokal


- add chain=prerouting connection-mark=con-overseas action=mark-packet \


new-packet-mark=overseas passthrough=yes comment="mark all overseas \


traffic" disabled=no ----> paket international


4. Bikin simple queue =


/ queue simple


- add name="test-indonesia" target-addresses=xxx.xxx.xxx.xxx/xx \


dst-address=0.0.0.0/0 interface=all parent=none packet-marks=indonesia \


direction=both priority=8 queue=default/default limit-at=0/0 \


max-limit=256000/256000 total-queue=default disabled=no ---> 256 UPLOAD & DOWNLOAD


(LOKAL)


- add name="test-overseas" target-addresses=xxx.xxx.xxx.xxx/xx \


dst-address=0.0.0.0/0 interface=all parent=none packet-marks=overseas \


direction=both priority=8 queue=default/default limit-at=0/0 \


max-limit=128000/128000 total-queue=default disabled=no ----> 256 UPLOAD & DOWNLOAD


(INTERNATIONAL)



0 comments: