SHOW:
|
|
- or go back to the newest paste.
| 1 | /ip firewall address-list | |
| 2 | add list="private-lokal" address=0.0.0.0/8 | |
| 3 | add list="private-lokal" address=10.0.0.0/8 | |
| 4 | add list="private-lokal" address=100.64.0.0/10 | |
| 5 | add list="private-lokal" address=127.0.0.0/8 | |
| 6 | add list="private-lokal" address=169.254.0.0/16 | |
| 7 | add list="private-lokal" address=172.16.0.0/12 | |
| 8 | add list="private-lokal" address=192.0.0.0/24 | |
| 9 | add list="private-lokal" address=192.0.2.0/24 | |
| 10 | add list="private-lokal" address=192.168.0.0/16 | |
| 11 | add list="private-lokal" address=198.18.0.0/15 | |
| 12 | add list="private-lokal" address=198.51.100.0/24 | |
| 13 | add list="private-lokal" address=203.0.113.0/24 | |
| 14 | add list="private-lokal" address=224.0.0.0/3 | |
| 15 | ||
| 16 | #ip ggc telkom dan ip google | |
| 17 | /ip firewall address-list | |
| 18 | add address=118.98.0.0/17 list=ggc-telkom | |
| 19 | add address=118.97.0.0/16 list=ggc-telkom | |
| 20 | add address=216.239.32.0/19 list=ggc-telkom | |
| 21 | add address=216.58.192.0/19 list=ggc-telkom | |
| 22 | add address=172.217.0.0/16 list=ggc-telkom | |
| 23 | add address=74.125.0.0/16 list=ggc-telkom | |
| 24 | ||
| 25 | /ip firewall address-list | |
| 26 | add list=sosmed address=31.13.24.0/21 comment="Facebook Ireland" | |
| 27 | add list=sosmed address=31.13.64.0/18 comment="Facebook Ireland" | |
| 28 | add list=sosmed address=31.13.64.0/19 comment="Facebook Ireland" | |
| 29 | add list=sosmed address=31.13.64.0/24 comment="Facebook Ireland" | |
| 30 | add list=sosmed address=31.13.65.0/24 comment="Facebook Ireland" | |
| 31 | add list=sosmed address=31.13.66.0/24 comment="Facebook Ireland" | |
| 32 | add list=sosmed address=31.13.67.0/24 comment="Facebook Ireland" | |
| 33 | add list=sosmed address=31.13.68.0/24 comment="Facebook Ireland" | |
| 34 | add list=sosmed address=31.13.69.0/24 comment="Facebook Ireland" | |
| 35 | add list=sosmed address=31.13.70.0/24 comment="Facebook Ireland" | |
| 36 | add list=sosmed address=31.13.71.0/24 comment="Facebook Ireland" | |
| 37 | add list=sosmed address=31.13.72.0/24 comment="Facebook Ireland" | |
| 38 | add list=sosmed address=31.13.73.0/24 comment="Facebook Ireland" | |
| 39 | add list=sosmed address=31.13.74.0/24 comment="Facebook Ireland" | |
| 40 | add list=sosmed address=31.13.75.0/24 comment="Facebook Ireland" | |
| 41 | add list=sosmed address=31.13.76.0/24 comment="Facebook Ireland" | |
| 42 | add list=sosmed address=31.13.78.0/24 comment="Facebook Ireland" | |
| 43 | add list=sosmed address=31.13.80.0/24 comment="Facebook Ireland" | |
| 44 | add list=sosmed address=31.13.81.0/24 comment="Facebook Ireland" | |
| 45 | add list=sosmed address=31.13.82.0/24 comment="Facebook Ireland" | |
| 46 | add list=sosmed address=31.13.83.0/24 comment="Facebook Ireland" | |
| 47 | add list=sosmed address=31.13.84.0/24 comment="Facebook Ireland" | |
| 48 | add list=sosmed address=31.13.85.0/24 comment="Facebook Ireland" | |
| 49 | add list=sosmed address=31.13.86.0/24 comment="Facebook Ireland" | |
| 50 | add list=sosmed address=31.13.87.0/24 comment="Facebook Ireland" | |
| 51 | add list=sosmed address=31.13.90.0/24 comment="Facebook Ireland" | |
| 52 | add list=sosmed address=31.13.91.0/24 comment="Facebook Ireland" | |
| 53 | add list=sosmed address=31.13.92.0/24 comment="Facebook Ireland" | |
| 54 | add list=sosmed address=31.13.94.0/24 comment="Facebook Ireland" | |
| 55 | add list=sosmed address=31.13.95.0/24 comment="Facebook Ireland" | |
| 56 | add list=sosmed address=31.13.96.0/19 comment="Facebook Ireland" | |
| 57 | add list=sosmed address=45.64.40.0/22 comment="Facebook Singapore Pte Ltd. Singapore" | |
| 58 | add list=sosmed address=66.220.144.0/20 comment="Facebook, Inc. United States" | |
| 59 | add list=sosmed address=66.220.144.0/21 comment="Facebook, Inc. United States" | |
| 60 | add list=sosmed address=66.220.152.0/21 comment="Facebook, Inc. United States" | |
| 61 | add list=sosmed address=69.63.176.0/20 comment="Facebook, Inc. United States" | |
| 62 | add list=sosmed address=69.63.176.0/21 comment="Facebook, Inc. United States" | |
| 63 | add list=sosmed address=69.63.184.0/21 comment="Facebook, Inc. United States" | |
| 64 | add list=sosmed address=69.171.224.0/19 comment="Facebook, Inc. United States" | |
| 65 | add list=sosmed address=69.171.224.0/20 comment="Facebook, Inc. United States" | |
| 66 | add list=sosmed address=69.171.239.0/24 comment="Facebook, Inc. United States" | |
| 67 | add list=sosmed address=69.171.240.0/20 comment="Facebook, Inc. United States" | |
| 68 | add list=sosmed address=69.171.255.0/24 comment="Facebook, Inc. United States" | |
| 69 | add list=sosmed address=74.119.76.0/22 comment="Facebook, Inc. United States" | |
| 70 | add list=sosmed address=103.4.96.0/22 comment=" Temasek Avenue Singapore" | |
| 71 | add list=sosmed address=157.240.0.0/17 comment="Facebook, Inc. United States" | |
| 72 | add list=sosmed address=157.240.1.0/24 comment="Facebook, Inc. United States" | |
| 73 | add list=sosmed address=157.240.2.0/24 comment="Facebook, Inc. United States" | |
| 74 | add list=sosmed address=157.240.3.0/24 comment="Facebook, Inc. United States" | |
| 75 | add list=sosmed address=157.240.6.0/24 comment="Facebook, Inc. United States" | |
| 76 | add list=sosmed address=157.240.7.0/24 comment="Facebook, Inc. United States" | |
| 77 | add list=sosmed address=157.240.8.0/24 comment="Facebook, Inc. United States" | |
| 78 | add list=sosmed address=157.240.9.0/24 comment="Facebook, Inc. United States" | |
| 79 | add list=sosmed address=157.240.10.0/24 comment="Facebook, Inc. United States" | |
| 80 | add list=sosmed address=157.240.11.0/24 comment="Facebook, Inc. United States" | |
| 81 | add list=sosmed address=157.240.12.0/24 comment="Facebook, Inc. United States" | |
| 82 | add list=sosmed address=157.240.13.0/24 comment="Facebook, Inc. United States" | |
| 83 | add list=sosmed address=157.240.14.0/24 comment="Facebook, Inc. United States" | |
| 84 | add list=sosmed address=157.240.15.0/24 comment="Facebook, Inc. United States" | |
| 85 | add list=sosmed address=157.240.16.0/24 comment="Facebook, Inc. United States" | |
| 86 | add list=sosmed address=157.240.18.0/24 comment="Facebook, Inc. United States" | |
| 87 | add list=sosmed address=157.240.20.0/24 comment="Facebook, Inc. United States" | |
| 88 | add list=sosmed address=157.240.21.0/24 comment="Facebook, Inc. United States" | |
| 89 | add list=sosmed address=157.240.22.0/24 comment="Facebook, Inc. United States" | |
| 90 | add list=sosmed address=173.252.64.0/19 comment="Facebook, Inc. United States" | |
| 91 | add list=sosmed address=173.252.88.0/21 comment="Facebook, Inc. United States" | |
| 92 | add list=sosmed address=173.252.96.0/19 comment="Facebook, Inc. United States" | |
| 93 | add list=sosmed address=179.60.192.0/22 comment="Edge Network Services Ltd United States" | |
| 94 | add list=sosmed address=179.60.192.0/24 comment="Edge Network Services Ltd United States" | |
| 95 | add list=sosmed address=179.60.193.0/24 comment="Edge Network Services Ltd United States" | |
| 96 | add list=sosmed address=179.60.195.0/24 comment="Edge Network Services Ltd United States" | |
| 97 | add list=sosmed address=185.60.216.0/22 comment="Facebook Ireland" | |
| 98 | add list=sosmed address=185.60.216.0/24 comment="Facebook Ireland" | |
| 99 | add list=sosmed address=185.60.218.0/24 comment="Facebook Ireland" | |
| 100 | add list=sosmed address=185.60.219.0/24 comment="Facebook Ireland" | |
| 101 | add list=sosmed address=204.15.20.0/22 comment="Facebook, Inc. United States" | |
| 102 | ||
| 103 | /ip firewall address-list | |
| 104 | add list=sosmed address=64.63.0.0/18 comment="MoPub, Inc. United States" | |
| 105 | add list=sosmed address=69.195.160.0/24 comment="Twitter Inc. United States" | |
| 106 | add list=sosmed address=69.195.162.0/24 comment="Twitter Inc. United States" | |
| 107 | add list=sosmed address=69.195.163.0/24 comment="Twitter Inc. United States" | |
| 108 | add list=sosmed address=69.195.164.0/24 comment="Twitter Inc. United States" | |
| 109 | add list=sosmed address=69.195.165.0/24 comment="Twitter Inc. United States" | |
| 110 | add list=sosmed address=69.195.166.0/24 comment="Twitter Inc. United States" | |
| 111 | add list=sosmed address=69.195.168.0/24 comment="Twitter Inc. United States" | |
| 112 | add list=sosmed address=69.195.169.0/24 comment="Twitter Inc. United States" | |
| 113 | add list=sosmed address=69.195.171.0/24 comment="Twitter Inc. United States" | |
| 114 | add list=sosmed address=69.195.172.0/24 comment="Twitter Inc. United States" | |
| 115 | add list=sosmed address=69.195.173.0/24 comment="Twitter Inc. United States" | |
| 116 | add list=sosmed address=69.195.175.0/24 comment="Twitter Inc. United States" | |
| 117 | add list=sosmed address=69.195.176.0/24 comment="Twitter Inc. United States" | |
| 118 | add list=sosmed address=69.195.177.0/24 comment="Twitter Inc. United States" | |
| 119 | add list=sosmed address=69.195.178.0/24 comment="Twitter Inc. United States" | |
| 120 | add list=sosmed address=69.195.179.0/24 comment="Twitter Inc. United States" | |
| 121 | add list=sosmed address=69.195.180.0/24 comment="Twitter Inc. United States" | |
| 122 | add list=sosmed address=69.195.181.0/24 comment="Twitter Inc. United States" | |
| 123 | add list=sosmed address=69.195.182.0/24 comment="Twitter Inc. United States" | |
| 124 | add list=sosmed address=69.195.184.0/24 comment="Twitter Inc. United States" | |
| 125 | add list=sosmed address=69.195.185.0/24 comment="Twitter Inc. United States" | |
| 126 | add list=sosmed address=69.195.186.0/24 comment="Twitter Inc. United States" | |
| 127 | add list=sosmed address=69.195.187.0/24 comment="Twitter Inc. United States" | |
| 128 | add list=sosmed address=69.195.188.0/24 comment="Twitter Inc. United States" | |
| 129 | add list=sosmed address=69.195.189.0/24 comment="Twitter Inc. United States" | |
| 130 | add list=sosmed address=69.195.190.0/24 comment="Twitter Inc. United States" | |
| 131 | add list=sosmed address=69.195.191.0/24 comment="Twitter Inc. United States" | |
| 132 | add list=sosmed address=103.252.112.0/23 comment="60 Robinson Road, #11-02 BEA Building, Singapore 068892. Singapore" | |
| 133 | add list=sosmed address=103.252.114.0/23 comment="60 Robinson Road, #11-02 BEA Building, Singapore 068892. Singapore" | |
| 134 | add list=sosmed address=104.244.40.0/24 comment="Twitter Inc. United States" | |
| 135 | add list=sosmed address=104.244.41.0/24 comment="Twitter Inc. United States" | |
| 136 | add list=sosmed address=104.244.42.0/24 comment="Twitter Inc. United States" | |
| 137 | add list=sosmed address=104.244.43.0/24 comment="Twitter Inc. United States" | |
| 138 | add list=sosmed address=104.244.44.0/24 comment="Twitter Inc. United States" | |
| 139 | add list=sosmed address=104.244.45.0/24 comment="Twitter Inc. United States" | |
| 140 | add list=sosmed address=104.244.46.0/24 comment="Twitter Inc. United States" | |
| 141 | add list=sosmed address=104.244.47.0/24 comment="Twitter Inc. United States" | |
| 142 | add list=sosmed address=185.45.5.0/24 comment="Twitter International Company Ireland" | |
| 143 | add list=sosmed address=185.45.6.0/23 comment="Twitter International Company Ireland" | |
| 144 | add list=sosmed address=188.64.224.0/24 comment="Heron SAS France" | |
| 145 | add list=sosmed address=188.64.225.0/24 comment="Heron SAS France" | |
| 146 | add list=sosmed address=188.64.226.0/23 comment="Heron SAS France" | |
| 147 | add list=sosmed address=188.64.226.0/24 comment="Heron SAS France" | |
| 148 | add list=sosmed address=188.64.227.0/24 comment="Heron SAS France" | |
| 149 | add list=sosmed address=188.64.228.0/24 comment="Heron SAS France" | |
| 150 | add list=sosmed address=188.64.229.0/24 comment="Heron SAS France" | |
| 151 | add list=sosmed address=192.44.69.0/24 comment="Crashlytics, Inc United States" | |
| 152 | add list=sosmed address=192.133.76.0/22 comment="Twitter Inc. United States" | |
| 153 | add list=sosmed address=192.133.76.0/23 comment="Twitter Inc. United States" | |
| 154 | add list=sosmed address=199.16.156.0/22 comment="Twitter Inc. United States" | |
| 155 | add list=sosmed address=199.16.156.0/23 comment="Twitter Inc. United States" | |
| 156 | add list=sosmed address=199.59.148.0/22 comment="Twitter Inc. United States" | |
| 157 | add list=sosmed address=199.96.56.0/23 comment="Twitter Inc. United States" | |
| 158 | add list=sosmed address=199.96.56.0/24 comment="Twitter Inc. United States" | |
| 159 | add list=sosmed address=199.96.57.0/24 comment="Twitter Inc. United States" | |
| 160 | add list=sosmed address=199.96.58.0/23 comment="Twitter Inc. United States" | |
| 161 | add list=sosmed address=199.96.60.0/23 comment="Twitter Inc. United States" | |
| 162 | add list=sosmed address=199.96.60.0/24 comment="Twitter Inc. United States" | |
| 163 | add list=sosmed address=199.96.61.0/24 comment="Twitter Inc. United States" | |
| 164 | add list=sosmed address=199.96.62.0/23 comment="Twitter Inc. United States" | |
| 165 | add list=sosmed address=202.160.128.0/24 comment="Twitter Asia Pacific Pte. Ltd. Singapore" | |
| 166 | add list=sosmed address=202.160.129.0/24 comment="Twitter Asia Pacific Pte. Ltd. Singapore" | |
| 167 | add list=sosmed address=202.160.130.0/24 comment="Twitter Asia Pacific Pte. Ltd. Singapore" | |
| 168 | add list=sosmed address=202.160.131.0/24 comment="Twitter Asia Pacific Pte. Ltd. Singapore" | |
| 169 | add list=sosmed address=209.237.192.0/24 comment="Twitter Inc. United States" | |
| 170 | add list=sosmed address=209.237.193.0/24 comment="Twitter Inc. United States" | |
| 171 | add list=sosmed address=209.237.194.0/24 comment="Twitter Inc. United States" | |
| 172 | add list=sosmed address=209.237.195.0/24 comment="Twitter Inc. United States" | |
| 173 | add list=sosmed address=209.237.196.0/24 comment="Twitter Inc. United States" | |
| 174 | add list=sosmed address=209.237.197.0/24 comment="Twitter Inc. United States" | |
| 175 | add list=sosmed address=209.237.198.0/24 comment="Twitter Inc. United States" | |
| 176 | add list=sosmed address=209.237.199.0/24 comment="Twitter Inc. United States" | |
| 177 | add list=sosmed address=209.237.200.0/24 comment="Twitter Inc. United States" | |
| 178 | add list=sosmed address=209.237.201.0/24 comment="Twitter Inc. United States" | |
| 179 | add list=sosmed address=209.237.204.0/24 comment="Twitter Inc. United States" | |
| 180 | add list=sosmed address=209.237.205.0/24 comment="Twitter Inc. United States" | |
| 181 | add list=sosmed address=209.237.206.0/24 comment="Twitter Inc. United States" | |
| 182 | add list=sosmed address=209.237.207.0/24 comment="Twitter Inc. United States" | |
| 183 | add list=sosmed address=209.237.208.0/24 comment="Twitter Inc. United States" | |
| 184 | add list=sosmed address=209.237.209.0/24 comment="Twitter Inc. United States" | |
| 185 | add list=sosmed address=209.237.210.0/24 comment="Twitter Inc. United States" | |
| 186 | add list=sosmed address=209.237.211.0/24 comment="Twitter Inc. United States" | |
| 187 | add list=sosmed address=209.237.212.0/24 comment="Twitter Inc. United States" | |
| 188 | add list=sosmed address=209.237.213.0/24 comment="Twitter Inc. United States" | |
| 189 | add list=sosmed address=209.237.214.0/24 comment="Twitter Inc. United States" | |
| 190 | add list=sosmed address=209.237.215.0/24 comment="Twitter Inc. United States" | |
| 191 | add list=sosmed address=209.237.216.0/24 comment="Twitter Inc. United States" | |
| 192 | add list=sosmed address=209.237.217.0/24 comment="Twitter Inc. United States" | |
| 193 | add list=sosmed address=209.237.218.0/24 comment="Twitter Inc. United States" | |
| 194 | add list=sosmed address=209.237.219.0/24 comment="Twitter Inc. United States" | |
| 195 | add list=sosmed address=209.237.220.0/24 comment="Twitter Inc. United States" | |
| 196 | add list=sosmed address=209.237.221.0/24 comment="Twitter Inc. United States" | |
| 197 | add list=sosmed address=209.237.222.0/24 comment="Twitter Inc. United States" | |
| 198 | add list=sosmed address=209.237.223.0/24 comment="Twitter Inc. United States" | |
| 199 | ||
| 200 | /ip firewall address-list | |
| 201 | add list=sosmed address=whatsapp.com comment="whatsapp" | |
| 202 | add list=sosmed address=whatsapp.net comment="whatsapp" | |
| 203 | add list=sosmed address=instagram.com comment="instagram" | |
| 204 | ||
| 205 | /ip firewall layer7-protocol | |
| 206 | add name=torrent1 regexp="^.+(Torrent|torrent)" | |
| 207 | add name=torrent2 regexp="^(bittorrent protocol|azver1\$|get /scrape\\\\\?info_hash=)|d1:ad2:id20:|87P\\)[RP]" | |
| 208 | add name=torrent3 regexp="^(\\x13bittorrent protocol|azver\\x01\$|get /scrape\\\?info_hash=get /announce\\\?info_hash=|get /client/bitcomet/|GET /data\\\?fid=)|d1:ad2:id20:|\\x08'7P\\)[RP]" | |
| 209 | add name=torrent4 regexp="^.*(get|GET).+(torrent|thepiratebay|isohunt|entertane|demonoid|btjunkie|mininova|flixflux|torrentz|vertor|h33t|btscene|bitunity|bittoxic|thunderbytes|entertane|zoozle|vcdq|bitnova|bitsoup|meganova|fulldls|btbot|flixflux|seedpeer|fenopy|gpirate|commonbits).*\$" | |
| 210 | ||
| 211 | ||
| 212 | /ip firewall mangle | |
| 213 | add action=accept chain=input dst-address-list=private-lokal src-address-list=private-lokal | |
| 214 | add action=accept chain=prerouting dst-address-list=private-lokal src-address-list=private-lokal | |
| 215 | add action=accept chain=forward dst-address-list=private-lokal src-address-list=private-lokal | |
| 216 | add action=accept chain=postrouting dst-address-list=private-lokal src-address-list=private-lokal | |
| 217 | add action=accept chain=output dst-address-list=private-lokal src-address-list=private-lokal | |
| 218 | add action=mark-connection chain=prerouting comment=icmp-dns dst-address-list=!private-lokal new-connection-mark=icmp-dns passthrough=yes protocol=icmp \ | |
| 219 | src-address-list=private-lokal | |
| 220 | add action=mark-connection chain=prerouting comment=icmp-dns dst-address-list=!private-lokal dst-port=53,5353,123 new-connection-mark=icmp-dns passthrough=\ | |
| 221 | yes protocol=tcp src-address-list=private-lokal | |
| 222 | add action=mark-connection chain=prerouting comment=icmp-dns dst-address-list=!private-lokal dst-port=53,5353,123 new-connection-mark=icmp-dns passthrough=\ | |
| 223 | yes protocol=udp src-address-list=private-lokal | |
| 224 | add action=accept chain=prerouting comment=icmp-dns connection-mark=icmp-dns | |
| 225 | add action=mark-packet chain=forward comment=icmp-dns connection-mark=icmp-dns new-packet-mark=icmp-dns passthrough=no | |
| 226 | add action=mark-connection chain=prerouting comment=ggc-telkom connection-mark=no-mark dst-address-list=ggc-telkom new-connection-mark=ggc-telkom \ | |
| 227 | passthrough=yes src-address-list=private-lokal | |
| 228 | add action=mark-packet chain=forward comment=ggc-telkom connection-mark=ggc-telkom new-packet-mark=ggc-telkom passthrough=no | |
| 229 | add action=mark-connection chain=prerouting comment=sosmed connection-mark=no-mark dst-address-list=sosmed new-connection-mark=sosmed passthrough=yes \ | |
| 230 | src-address-list=private-lokal | |
| 231 | add action=mark-packet chain=forward comment=sosmed connection-mark=sosmed new-packet-mark=sosmed passthrough=no | |
| 232 | add action=mark-connection chain=prerouting comment=trafik connection-mark=no-mark dst-address-list=!private-lokal dst-port=\ | |
| 233 | 5000,5500-7100,9000,9091,3000-3200 new-connection-mark=trafik passthrough=yes protocol=tcp src-address-list=private-lokal | |
| 234 | add action=mark-connection chain=prerouting comment=trafik connection-mark=no-mark dst-address-list=!private-lokal dst-port=\ | |
| 235 | 5000,5500-7100,9000,9091,3000-3200 new-connection-mark=trafik passthrough=yes protocol=udp src-address-list=private-lokal | |
| 236 | add action=mark-connection chain=prerouting comment=trafik connection-mark=no-mark dst-address-list=!private-lokal dst-port=\ | |
| 237 | 0-2000,5050,8777,8000-8099,5353,5938,8291,12671-12675,16800 new-connection-mark=trafik passthrough=yes protocol=tcp src-address-list=private-lokal | |
| 238 | add action=mark-connection chain=prerouting comment=trafik connection-mark=no-mark dst-address-list=!private-lokal dst-port=\ | |
| 239 | 0-2000,5050,8777,8000-8099,5353,5938,8291,12671-12675,16800 new-connection-mark=trafik passthrough=yes protocol=udp src-address-list=private-lokal | |
| 240 | add action=mark-connection chain=prerouting comment=trafik connection-mark=no-mark dst-address-list=!private-lokal layer7-protocol=torrent1 \ | |
| 241 | new-connection-mark=trafik passthrough=yes src-address-list=private-lokal | |
| 242 | add action=mark-connection chain=prerouting comment=trafik connection-mark=no-mark dst-address-list=!private-lokal layer7-protocol=torrent2 \ | |
| 243 | new-connection-mark=trafik passthrough=yes src-address-list=private-lokal | |
| 244 | add action=mark-connection chain=prerouting comment=trafik connection-mark=no-mark dst-address-list=!private-lokal layer7-protocol=torrent3 \ | |
| 245 | new-connection-mark=trafik passthrough=yes src-address-list=private-lokal | |
| 246 | add action=mark-connection chain=prerouting comment=trafik connection-mark=no-mark dst-address-list=!private-lokal layer7-protocol=torrent4 \ | |
| 247 | new-connection-mark=trafik passthrough=yes src-address-list=private-lokal | |
| 248 | add action=mark-connection chain=prerouting comment=high-priority connection-mark=no-mark dst-address-list=!private-lokal new-connection-mark=high-priority \ | |
| 249 | passthrough=yes src-address-list=private-lokal | |
| 250 | add action=accept chain=prerouting comment=high-priority connection-mark=high-priority | |
| 251 | add action=mark-packet chain=forward comment=high-priority connection-mark=high-priority new-packet-mark=high-priority passthrough=no | |
| 252 | add action=mark-packet chain=forward comment=browsing connection-mark=trafik connection-rate=0-1M new-packet-mark=browsing passthrough=no | |
| 253 | add action=mark-packet chain=forward comment=midle-trafik connection-mark=trafik connection-rate=1000001-3M new-packet-mark=midle-trafik passthrough=no | |
| 254 | add action=mark-packet chain=forward comment=high-trafik connection-mark=trafik connection-rate=3000001-1G new-packet-mark=high-trafik passthrough=no | |
| 255 | ||
| 256 | ||
| 257 | ||
| 258 | /queue tree | |
| 259 | add max-limit=1G name=INCOMING parent=global queue=default | |
| 260 | add limit-at=64k max-limit=1G name=I.01.ICMP-DNS packet-mark=icmp-dns parent=INCOMING priority=1 queue=default | |
| 261 | add limit-at=5M max-limit=1G name=I.02.HIGH-PRIORITY packet-mark=high-priority parent=INCOMING priority=3 queue=default | |
| 262 | add limit-at=90M max-limit=100M name=I.03.NORMAL parent=INCOMING queue=default | |
| 263 | add limit-at=10M max-limit=100M name=I.03.1.SOSMED packet-mark=sosmed parent=I.03.NORMAL priority=5 queue=pcq-download-default | |
| 264 | add limit-at=10M max-limit=100M name=I.03.2.BROWSING packet-mark=browsing parent=I.03.NORMAL priority=5 queue=pcq-download-default | |
| 265 | add limit-at=10M max-limit=100M name=I.03.3.MIDLE-TRAFIK packet-mark=midle-trafik parent=I.03.NORMAL priority=7 queue=pcq-download-default | |
| 266 | add limit-at=10M max-limit=100M name=I.03.4.HIGH-TRAFIK packet-mark=high-trafik parent=I.03.NORMAL queue=pcq-download-default | |
| 267 | add limit-at=10M max-limit=100M name=I.04.YOUTUBE-GOOGLE packet-mark=ggc-telkom parent=INCOMING queue=pcq-download-default | |
| 268 | add max-limit=1G name=OUTGOING parent=ether1 queue=default | |
| 269 | add limit-at=64k max-limit=1G name=O.01.ICMP-DNS packet-mark=icmp-dns parent=OUTGOING priority=1 queue=default | |
| 270 | add limit-at=3M max-limit=1G name=O.02.HIGH-PRIORITY packet-mark=high-priority parent=OUTGOING priority=3 queue=default | |
| 271 | add limit-at=10M max-limit=15M name=O.03.NORMAL parent=OUTGOING queue=default | |
| 272 | add limit-at=1M max-limit=15M name=O.03.1.SOSMED packet-mark=sosmed parent=O.03.NORMAL priority=5 queue=pcq-upload-default | |
| 273 | add limit-at=1M max-limit=15M name=O.03.2.BROWSING packet-mark=browsing parent=O.03.NORMAL priority=5 queue=pcq-upload-default | |
| 274 | add limit-at=1M max-limit=15M name=O.03.3.MIDLE-TRAFIK packet-mark=midle-trafik parent=O.03.NORMAL priority=7 queue=pcq-upload-default | |
| 275 | add limit-at=1M max-limit=15M name=O.03.4.HIGH-TRAFIK packet-mark=high-trafik parent=O.03.NORMAL queue=pcq-upload-default | |
| 276 | add limit-at=1M max-limit=15M name=O.04.YOUTUBE-GOOGLE packet-mark=ggc-telkom parent=OUTGOING queue=pcq-upload-default |