routeros
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| routeros [2024/09/01 11:04] – protocol | routeros [2026/06/11 11:01] (current) – [something about wifi reg tables] protocol | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== Known your IP ===== | ||
| + | < | ||
| + | /tool fetch https:// | ||
| + | </ | ||
| + | |||
| + | |||
| ===== Balance ===== | ===== Balance ===== | ||
| Line 16: | Line 22: | ||
| }</ | }</ | ||
| + | ===== something about wifi reg tables ===== | ||
| + | < | ||
| - | ===== Dirty block x.com with address-list (more granularity, | ||
| - | < | + | :foreach ITEM in=[/interface wireless registration-table print] do={ |
| - | ip firewall address-list add list=x.com address=69.195.185.0/24 comment=x.com | + | :local COMMENT [/interface wireless registration-table get $ITEM comment]; |
| - | ip firewall address-list add list=x.com address=192.133.76.0/ | + | :put " |
| - | ip firewall address-list add list=x.com address=69.195.187.0/ | + | } |
| - | ip firewall address-list add list=x.com address=199.16.156.0/ | + | |
| - | ip firewall address-list add list=x.com address=104.244.45.0/ | + | |
| - | ip firewall address-list add list=x.com address=209.237.196.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.184.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.178.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.169.0/ | + | |
| - | ip firewall address-list add list=x.com address=103.252.114.0/ | + | |
| - | ip firewall address-list add list=x.com address=104.244.41.0/ | + | |
| - | ip firewall address-list add list=x.com address=202.160.131.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.162.0/ | + | |
| - | ip firewall address-list add list=x.com address=209.237.194.0/ | + | |
| - | ip firewall address-list add list=x.com address=104.244.47.0/ | + | |
| - | ip firewall address-list add list=x.com address=103.252.112.0/ | + | |
| - | ip firewall address-list add list=x.com address=202.160.130.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.180.0/ | + | |
| - | ip firewall address-list add list=x.com address=104.244.40.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.181.0/ | + | |
| - | ip firewall address-list add list=x.com address=202.160.128.0/ | + | |
| - | ip firewall address-list add list=x.com address=209.237.199.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.179.0/ | + | |
| - | ip firewall address-list add list=x.com address=199.16.156.0/ | + | |
| - | ip firewall address-list add list=x.com address=104.244.46.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.168.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.182.0/ | + | |
| - | ip firewall address-list add list=x.com address=199.59.148.0/ | + | |
| - | ip firewall address-list add list=x.com address=64.63.0.0/ | + | |
| - | ip firewall address-list add list=x.com address=199.96.56.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.175.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.174.0/ | + | |
| - | ip firewall address-list add list=x.com address=209.237.192.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.160.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.166.0/ | + | |
| - | ip firewall address-list add list=x.com address=209.237.198.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.183.0/ | + | |
| - | ip firewall address-list add list=x.com address=209.237.195.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.171.0/ | + | |
| - | ip firewall address-list add list=x.com address=104.244.42.0/ | + | |
| - | ip firewall address-list add list=x.com address=202.160.129.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.160.0/ | + | |
| - | ip firewall address-list add list=x.com address=209.237.192.0/ | + | |
| - | ip firewall address-list add list=x.com address=104.244.44.0/ | + | |
| - | ip firewall address-list add list=x.com address=69.195.186.0/ | + | |
| - | ip firewall address-list add list=x.com address=209.237.193.0/ | + | |
| - | ip firewall address-list add list=x.com address=188.64.224.0/ | + | |
| - | ipv6 firewall address-list add list=x.com address=2400: | + | |
| - | ipv6 firewall address-list add list=x.com address=2a04: | + | |
| - | ipv6 firewall address-list add list=x.com address=2606:1f80: | + | |
| - | </ | + | |
| + | :foreach a in=[/ | ||
| + | :put [interface wireless registration-table get $a comment] | ||
| + | } | ||
| - | ===== Dirty block x.com with blackhole routes (least resources used, no firewall needed, no options) ===== | ||
| - | < | + | :foreach i in [/interface wireless registration-table find] do={ |
| - | ip route add type=blackhole dst-address=69.195.185.0/24 comment=x.com | + | :find [/interface wireless registration-table get $i comment] |
| - | ip route add type=blackhole dst-address=192.133.76.0/ | + | :put " |
| - | ip route add type=blackhole dst-address=69.195.187.0/24 comment=x.com | + | } |
| - | ip route add type=blackhole dst-address=199.16.156.0/ | + | } |
| - | ip route add type=blackhole dst-address=104.244.45.0/ | + | |
| - | ip route add type=blackhole dst-address=209.237.196.0/ | + | { |
| - | ip route add type=blackhole dst-address=69.195.184.0/ | + | :local registration [/interface wireless registration-table print where interface=wlan2 count-only]; |
| - | ip route add type=blackhole dst-address=69.195.178.0/ | + | :if ($registration > 0) do={ |
| - | ip route add type=blackhole dst-address=69.195.169.0/ | + | /tool fetch url=" |
| - | ip route add type=blackhole dst-address=103.252.114.0/23 comment=x.com | + | } |
| - | ip route add type=blackhole dst-address=104.244.41.0/ | + | } |
| - | ip route add type=blackhole dst-address=202.160.131.0/ | + | |
| - | ip route add type=blackhole dst-address=69.195.162.0/24 comment=x.com | + | |
| - | ip route add type=blackhole dst-address=209.237.194.0/24 comment=x.com | + | |
| - | ip route add type=blackhole dst-address=104.244.47.0/24 comment=x.com | + | |
| - | ip route add type=blackhole dst-address=103.252.112.0/23 comment=x.com | + | |
| - | ip route add type=blackhole dst-address=202.160.130.0/24 comment=x.com | + | |
| - | ip route add type=blackhole dst-address=69.195.180.0/24 comment=x.com | + | |
| - | ip route add type=blackhole dst-address=104.244.40.0/ | + | |
| - | ip route add type=blackhole dst-address=69.195.181.0/ | + | |
| - | ip route add type=blackhole dst-address=202.160.128.0/ | + | |
| - | ip route add type=blackhole dst-address=209.237.199.0/ | + | |
| - | ip route add type=blackhole dst-address=69.195.179.0/ | + | |
| - | ip route add type=blackhole dst-address=199.16.156.0/ | + | |
| - | ip route add type=blackhole dst-address=104.244.46.0/ | + | |
| - | ip route add type=blackhole dst-address=69.195.168.0/ | + | |
| - | ip route add type=blackhole dst-address=69.195.182.0/ | + | |
| - | ip route add type=blackhole dst-address=199.59.148.0/ | + | |
| - | ip route add type=blackhole dst-address=64.63.0.0/ | + | |
| - | ip route add type=blackhole dst-address=199.96.56.0/ | + | |
| - | ip route add type=blackhole dst-address=69.195.175.0/ | + | |
| - | ip route add type=blackhole dst-address=69.195.174.0/ | + | |
| - | ip route add type=blackhole dst-address=209.237.192.0/ | + | |
| - | ip route add type=blackhole dst-address=69.195.160.0/ | + | |
| - | ip route add type=blackhole dst-address=69.195.166.0/ | + | |
| - | ip route add type=blackhole dst-address=209.237.198.0/ | + | |
| - | ip route add type=blackhole dst-address=69.195.183.0/ | + | |
| - | ip route add type=blackhole dst-address=209.237.195.0/ | + | |
| - | ip route add type=blackhole dst-address=69.195.171.0/ | + | |
| - | ip route add type=blackhole dst-address=104.244.42.0/ | + | |
| - | ip route add type=blackhole dst-address=202.160.129.0/ | + | |
| - | ip route add type=blackhole dst-address=69.195.160.0/ | + | |
| - | ip route add type=blackhole dst-address=209.237.192.0/ | + | |
| - | ip route add type=blackhole dst-address=104.244.44.0/ | + | |
| - | ip route add type=blackhole dst-address=69.195.186.0/ | + | |
| - | ip route add type=blackhole dst-address=209.237.193.0/ | + | |
| - | ip route add type=blackhole dst-address=188.64.224.0/ | + | |
| - | ipv6 route add type=unreachable dst-address=2400: | + | |
| - | ipv6 route add type=unreachable dst-address=2a04: | + | |
| - | ipv6 route add type=unreachable dst-address=2606: | + | |
| </ | </ | ||
routeros.1725199469.txt.gz · Last modified: by protocol
