Diulangi saja lagi. Dari awal. system reset .Pertama set ip address, publik dan private. Kemudian ip route. Kemudian buat NAT. Tambahkan ip NICE ke address-list. Buat mangle. Dan buat simple queue. Detailnya sbb:
1. Set ip address
/ip address2. set gateway
add address=203.xx.xx.186/30 interface=WAN
add address=192.168.3.1/24 interface=LAN
/ip route add gateway=203.xx.xx.1853. melakukan NAT
/ip firewall nat add chain=srcnat action=masquerade4. Masukkan nice ke address list. Nice dapat diperoleh disini.
/ip firewall address-list5. set mangle
add list=nice address=”1.2.3.4″
remove [find list="nice"]
add list=nice address=”114.120.0.0/13″
add list=nice address=”114.56.0.0/14″
add list=nice address=”125.166.0.0/15″
…
…
…
dst
/ip firewall mangle6. set simple queue. Setiap klien dibuat 2 rule simple queue.
add chain=prerouting in-interface=LAN dst-address-list=nice action=mark-connection new-connection-mark=conn-iix passthrough=yes
add chain=prerouting connection-mark=conn-iix action=mark-packet new-packet-mark=packet-iix passthrough=no
add chain=prerouting action=mark-packet new-packet-mark=packet-intl passthrough=no
/queue simple
add name=”komp_lokal” target-addresses=192.168.3.11/32 interface=all packet-marks=packet-iix max-limit=256000/256000
add name=”komp_international” target-addresses=192.168.3.11/32 interface=all packet-marks=packet-intl max-limit=64000/64000
No comments
Post a Comment