SHOW:
|
|
- or go back to the newest paste.
| 1 | /ip firewall address-list | |
| 2 | ||
| 3 | add address=0.0.0.0/8 list=private-lokal | |
| 4 | add address=10.0.0.0/8 list=private-lokal | |
| 5 | add address=100.64.0.0/10 list=private-lokal | |
| 6 | add address=127.0.0.0/8 list=private-lokal | |
| 7 | add address=169.254.0.0/16 list=private-lokal | |
| 8 | add address=172.16.0.0/12 list=private-lokal | |
| 9 | add address=192.0.0.0/24 list=private-lokal | |
| 10 | add address=192.0.2.0/24 list=private-lokal | |
| 11 | add address=192.168.0.0/16 list=private-lokal | |
| 12 | add address=198.18.0.0/15 list=private-lokal | |
| 13 | add address=198.51.100.0/24 list=private-lokal | |
| 14 | add address=203.0.113.0/24 list=private-lokal | |
| 15 | add address=224.0.0.0/3 list=private-lokal | |
| 16 | add address=118.98.0.0/17 list=ggc-telkom | |
| 17 | add address=118.97.0.0/16 list=ggc-telkom | |
| 18 | ||
| 19 | ||
| 20 | /ip firewall raw | |
| 21 | ||
| 22 | add action=add-dst-to-address-list address-list=games address-list-timeout=\ | |
| 23 | none-dynamic chain=prerouting comment=Vainglory dst-address-list=\ | |
| 24 | !private-lokal dst-port=7000-8020 protocol=tcp src-address-list=\ | |
| 25 | private-lokal | |
| 26 | add action=add-dst-to-address-list address-list=games address-list-timeout=\ | |
| 27 | none-dynamic chain=prerouting comment=Vainglory content=.superevil.net \ | |
| 28 | dst-address-list=!private-lokal src-address-list=private-lokal | |
| 29 | add action=add-dst-to-address-list address-list=games address-list-timeout=\ | |
| 30 | none-dynamic chain=prerouting comment="Mobile Legends" dst-address-list=\ | |
| 31 | !private-lokal dst-port=30000-30150 protocol=tcp src-address-list=\ | |
| 32 | private-lokal | |
| 33 | add action=add-dst-to-address-list address-list=games address-list-timeout=\ | |
| 34 | none-dynamic chain=prerouting comment="Mobile Legends" content=\ | |
| 35 | .youngjoygame.com dst-address-list=!private-lokal src-address-list=\ | |
| 36 | private-lokal | |
| 37 | add action=add-dst-to-address-list address-list=games address-list-timeout=\ | |
| 38 | none-dynamic chain=prerouting comment="PUBG Mobile" dst-address-list=\ | |
| 39 | !private-lokal dst-port=10012,17500 protocol=tcp src-address-list=\ | |
| 40 | private-lokal | |
| 41 | add action=add-dst-to-address-list address-list=games address-list-timeout=\ | |
| 42 | none-dynamic chain=prerouting comment="PUBG Mobile" dst-address-list=\ | |
| 43 | !private-lokal dst-port="10491,10010,10013,10612,20002,20001,20000,12235,1\ | |
| 44 | 3748,13972,13894,11455,10096,10039" protocol=udp src-address-list=\ | |
| 45 | private-lokal | |
| 46 | add action=add-dst-to-address-list address-list=games address-list-timeout=\ | |
| 47 | none-dynamic chain=prerouting comment="PUBG Mobile" content=.igamecj.com \ | |
| 48 | dst-address-list=!private-lokal src-address-list=private-lokal | |
| 49 | add action=add-dst-to-address-list address-list=games address-list-timeout=\ | |
| 50 | none-dynamic chain=prerouting comment="PUBG Mobile" content=\ | |
| 51 | tencentgames.helpshift.com dst-address-list=!private-lokal \ | |
| 52 | src-address-list=private-lokal | |
| 53 | add action=add-dst-to-address-list address-list=games address-list-timeout=\ | |
| 54 | none-dynamic chain=prerouting comment=Garena content=.garenanow.com \ | |
| 55 | dst-address-list=!private-lokal src-address-list=private-lokal | |
| 56 | add action=add-dst-to-address-list address-list=sosmed address-list-timeout=\ | |
| 57 | none-dynamic chain=prerouting comment=ig content=.cdninstagram.com \ | |
| 58 | dst-address-list=!private-lokal src-address-list=private-lokal | |
| 59 | add action=add-dst-to-address-list address-list=sosmed address-list-timeout=\ | |
| 60 | none-dynamic chain=prerouting comment=ig content=.instagram.com \ | |
| 61 | dst-address-list=!private-lokal src-address-list=private-lokal | |
| 62 | add action=add-dst-to-address-list address-list=sosmed address-list-timeout=\ | |
| 63 | none-dynamic chain=prerouting comment=WA content=.whatsapp.net \ | |
| 64 | dst-address-list=!private-lokal src-address-list=private-lokal | |
| 65 | add action=add-dst-to-address-list address-list=sosmed address-list-timeout=\ | |
| 66 | none-dynamic chain=prerouting comment=WA content=.whatsapp.com \ | |
| 67 | dst-address-list=!private-lokal src-address-list=private-lokal | |
| 68 | add action=add-dst-to-address-list address-list=sosmed address-list-timeout=\ | |
| 69 | none-dynamic chain=prerouting comment=life360 content=.life360.com \ | |
| 70 | dst-address-list=!private-lokal src-address-list=private-lokal | |
| 71 | add action=add-dst-to-address-list address-list=sosmed address-list-timeout=\ | |
| 72 | none-dynamic chain=prerouting comment=fb content=.facebook.com \ | |
| 73 | dst-address-list=!private-lokal src-address-list=private-lokal | |
| 74 | add action=add-dst-to-address-list address-list=sosmed address-list-timeout=\ | |
| 75 | none-dynamic chain=prerouting comment=fb content=.facebook.net \ | |
| 76 | dst-address-list=!private-lokal src-address-list=private-lokal | |
| 77 | add action=add-dst-to-address-list address-list=sosmed address-list-timeout=\ | |
| 78 | none-dynamic chain=prerouting comment=fb content=.fbcdn.net \ | |
| 79 | dst-address-list=!private-lokal src-address-list=private-lokal | |
| 80 | add action=add-dst-to-address-list address-list=sosmed address-list-timeout=\ | |
| 81 | none-dynamic chain=prerouting comment=twitter content=.twitter.com \ | |
| 82 | dst-address-list=!private-lokal src-address-list=private-lokal | |
| 83 | add action=add-dst-to-address-list address-list=sosmed address-list-timeout=\ | |
| 84 | none-dynamic chain=prerouting comment=twitter content=.twimg.com \ | |
| 85 | dst-address-list=!private-lokal src-address-list=private-lokal | |
| 86 | add action=add-dst-to-address-list address-list=sosmed address-list-timeout=\ | |
| 87 | none-dynamic chain=prerouting comment=tiktok content=.tiktokv.com \ | |
| 88 | dst-address-list=!private-lokal src-address-list=private-lokal | |
| 89 | ||
| 90 | ||
| 91 | ||
| 92 | /ip firewall mangle | |
| 93 | add action=mark-connection chain=prerouting comment=private-lokal \ | |
| 94 | dst-address-list=private-lokal new-connection-mark=private-lokal \ | |
| 95 | passthrough=yes src-address-list=private-lokal | |
| 96 | add action=accept chain=prerouting comment=private-lokal connection-mark=\ | |
| 97 | private-lokal dst-address-list=private-lokal src-address-list=\ | |
| 98 | private-lokal | |
| 99 | add action=mark-connection chain=prerouting comment=vip dst-address-list=\ | |
| 100 | !private-lokal new-connection-mark=vip passthrough=yes protocol=icmp \ | |
| 101 | src-address-list=private-lokal | |
| 102 | add action=mark-connection chain=prerouting comment=dns dst-address-list=\ | |
| 103 | !private-lokal dst-port=53,5353,123,1194 new-connection-mark=vip \ | |
| 104 | passthrough=yes protocol=tcp src-address-list=private-lokal | |
| 105 | add action=mark-connection chain=prerouting comment=dns dst-address-list=\ | |
| 106 | !private-lokal dst-port=53,5353,123,1194 new-connection-mark=vip \ | |
| 107 | passthrough=yes protocol=udp src-address-list=private-lokal | |
| 108 | add action=accept chain=prerouting comment=vip connection-mark=vip | |
| 109 | add action=mark-connection chain=prerouting comment=games dst-address-list=\ | |
| 110 | games new-connection-mark=games passthrough=yes src-address-list=\ | |
| 111 | private-lokal | |
| 112 | add action=accept chain=prerouting comment=games connection-mark=games | |
| 113 | add action=mark-connection chain=prerouting comment=sosmed dst-address-list=\ | |
| 114 | sosmed new-connection-mark=sosmed passthrough=yes src-address-list=\ | |
| 115 | private-lokal | |
| 116 | add action=accept chain=prerouting comment=sosmed connection-mark=sosmed | |
| 117 | add action=mark-connection chain=prerouting comment=ggc-telkom \ | |
| 118 | dst-address-list=ggc-telkom new-connection-mark=ggc-redirector \ | |
| 119 | passthrough=yes src-address-list=private-lokal | |
| 120 | add action=accept chain=prerouting comment=ggc-redirector connection-mark=\ | |
| 121 | ggc-redirector | |
| 122 | add action=mark-connection chain=prerouting comment=all-trafik \ | |
| 123 | dst-address-list=!private-lokal new-connection-mark=all-trafik \ | |
| 124 | passthrough=yes src-address-list=private-lokal | |
| 125 | add action=accept chain=prerouting comment=all-trafik connection-mark=\ | |
| 126 | all-trafik | |
| 127 | add action=jump chain=forward in-interface=ether1 jump-target=qos-down | |
| 128 | add action=mark-packet chain=qos-down comment=vip-down connection-mark=vip \ | |
| 129 | new-packet-mark=vip-down passthrough=no | |
| 130 | add action=mark-packet chain=qos-down comment=games-down connection-mark=\ | |
| 131 | games new-packet-mark=games-down passthrough=no | |
| 132 | add action=mark-packet chain=qos-down comment=sosmed-down connection-mark=\ | |
| 133 | sosmed new-packet-mark=sosmed-down passthrough=no | |
| 134 | add action=mark-packet chain=qos-down comment=ggc-telkom-down \ | |
| 135 | connection-mark=ggc-redirector new-packet-mark=ggc-telkom-down \ | |
| 136 | passthrough=no | |
| 137 | add action=mark-packet chain=qos-down comment=browsing-down connection-bytes=\ | |
| 138 | 0-1000000 connection-mark=all-trafik new-packet-mark=browsing-down \ | |
| 139 | passthrough=no | |
| 140 | add action=mark-packet chain=qos-down comment=midle-down connection-bytes=\ | |
| 141 | 1000001-3000000 connection-mark=all-trafik new-packet-mark=midle-down \ | |
| 142 | passthrough=no | |
| 143 | add action=mark-packet chain=qos-down comment=high-down connection-bytes=\ | |
| 144 | 3000001-1000000000 connection-mark=all-trafik new-packet-mark=high-down \ | |
| 145 | passthrough=no | |
| 146 | add action=mark-packet chain=qos-down comment=unknown-down connection-mark=\ | |
| 147 | all-trafik new-packet-mark=unknown-down passthrough=no | |
| 148 | add action=mark-packet chain=qos-down comment=unknown-down new-packet-mark=\ | |
| 149 | unknown-down passthrough=no | |
| 150 | add action=return chain=qos-down | |
| 151 | add action=jump chain=forward jump-target=qos-up out-interface=ether1 | |
| 152 | add action=mark-packet chain=qos-up comment=vip-up connection-mark=vip \ | |
| 153 | new-packet-mark=vip-up passthrough=no | |
| 154 | add action=mark-packet chain=qos-up comment=games-up connection-mark=games \ | |
| 155 | new-packet-mark=games-up passthrough=no | |
| 156 | add action=mark-packet chain=qos-up comment=sosmed-up connection-mark=sosmed \ | |
| 157 | new-packet-mark=sosmed-up passthrough=no | |
| 158 | add action=mark-packet chain=qos-up comment=ggc-telkom-up connection-mark=\ | |
| 159 | ggc-redirector new-packet-mark=ggc-telkom-up passthrough=no | |
| 160 | add action=mark-packet chain=qos-up comment=browsing-up connection-bytes=\ | |
| 161 | 0-500000 connection-mark=all-trafik new-packet-mark=browsing-up \ | |
| 162 | passthrough=no | |
| 163 | add action=mark-packet chain=qos-up comment=midle-up connection-bytes=\ | |
| 164 | 501000-1500000 connection-mark=all-trafik new-packet-mark=midle-up \ | |
| 165 | passthrough=no | |
| 166 | add action=mark-packet chain=qos-up comment=high-up connection-bytes=\ | |
| 167 | 1500001-1000000000 connection-mark=all-trafik new-packet-mark=high-up \ | |
| 168 | passthrough=no | |
| 169 | add action=mark-packet chain=qos-up comment=unknown-up connection-mark=\ | |
| 170 | all-trafik new-packet-mark=unknown-up passthrough=no | |
| 171 | add action=mark-packet chain=qos-up comment=unknown-up new-packet-mark=\ | |
| 172 | unknown-up passthrough=no | |
| 173 | add action=return chain=qos-up | |
| 174 | ||
| 175 | ||
| 176 | ||
| 177 | ||
| 178 | /queue tree | |
| 179 | add max-limit=1G name=DOWNLOAD parent=global queue=default | |
| 180 | add bucket-size=0 limit-at=64k max-limit=1G name=1.VIP packet-mark=vip-down \ | |
| 181 | parent=DOWNLOAD priority=1 queue=default | |
| 182 | add bucket-size=0 limit-at=500k max-limit=1G name=2.GAMES packet-mark=\ | |
| 183 | games-down parent=DOWNLOAD priority=3 queue=default | |
| 184 | add limit-at=8M max-limit=8M name=3.NORMAL parent=DOWNLOAD queue=default | |
| 185 | add limit-at=1M max-limit=8M name=3.2.BROWSING packet-mark=browsing-down \ | |
| 186 | parent=3.NORMAL priority=5 queue=pcq-download-default | |
| 187 | add limit-at=1M max-limit=8M name=3.3.MIDDLE packet-mark=midle-down parent=\ | |
| 188 | 3.NORMAL priority=7 queue=pcq-download-default | |
| 189 | add limit-at=1M max-limit=8M name=3.4.HIGH packet-mark=high-down parent=\ | |
| 190 | 3.NORMAL queue=pcq-download-default | |
| 191 | add limit-at=1M max-limit=8M name=3.5.UNKNOWN packet-mark=unknown-down \ | |
| 192 | parent=3.NORMAL queue=pcq-download-default | |
| 193 | add limit-at=1M max-limit=10M name=4.GOOGLE packet-mark=ggc-telkom-down \ | |
| 194 | parent=DOWNLOAD queue=pcq-download-default | |
| 195 | add max-limit=1G name=UPLOAD parent=global queue=default | |
| 196 | add limit-at=64k max-limit=1G name=1.U-VIP packet-mark=vip-up parent=UPLOAD \ | |
| 197 | priority=1 queue=default | |
| 198 | add limit-at=500k max-limit=1G name=2.U-GAMES packet-mark=games-up parent=\ | |
| 199 | UPLOAD priority=3 queue=default | |
| 200 | add limit-at=1500k max-limit=2M name=3.U-NORMAL parent=UPLOAD queue=default | |
| 201 | add limit-at=200k max-limit=2M name=3.2.U-BROWSING packet-mark=browsing-up \ | |
| 202 | parent=3.U-NORMAL priority=5 queue=pcq-upload-default | |
| 203 | add limit-at=200k max-limit=2M name=3.3.U-MIDDLE packet-mark=midle-up parent=\ | |
| 204 | 3.U-NORMAL priority=7 queue=pcq-upload-default | |
| 205 | add limit-at=200k max-limit=2M name=3.4.U-HIGH packet-mark=high-up parent=\ | |
| 206 | 3.U-NORMAL queue=pcq-upload-default | |
| 207 | add limit-at=200k max-limit=2M name=3.5.U-UNKNOWN packet-mark=unknown-up \ | |
| 208 | parent=3.U-NORMAL queue=pcq-upload-default | |
| 209 | add limit-at=200k max-limit=2M name=4.U-GOOGLE packet-mark=ggc-telkom-up \ | |
| 210 | parent=UPLOAD queue=pcq-upload-default | |
| 211 | add limit-at=1M max-limit=10M name=3.1.SOSMED packet-mark=sosmed-down parent=\ | |
| 212 | 3.NORMAL priority=5 queue=pcq-download-default | |
| 213 | add limit-at=200k max-limit=2M name=3.1.U-SOSMED packet-mark=sosmed-up \ | |
| 214 | parent=3.U-NORMAL priority=5 queue=pcq-upload-default | |
| 215 | ||
| 216 | ||
| 217 | ||
| 218 | ||
| 219 | -BERES - |