# Windows10 Update Filter for Japan 2022/01/24 06:45:03 if (-not(Get-NetFirewallRule | where DisplayName -eq Windows10Update_Inbound)) { New-NetFirewallRule -DisplayName "Windows10Update_Inbound" -Description "https://gato.intaa.net/net/windows_update_filter" -Enabled True } if (-not(Get-NetFirewallRule | where DisplayName -eq Windows10Update_Outbound)) { New-NetFirewallRule -DisplayName "Windows10Update_Outbound" -Description "https://gato.intaa.net/net/windows_update_filter" -Enabled True } Set-NetFirewallRule -DisplayName "Windows10Update_Inbound" -Direction Inbound -Action Block -RemoteAddress 0.0.0.0,104.119.253.167,104.78.81.77,111.221.29.211,111.221.29.212,111.221.29.213,111.221.29.214,111.221.29.236,111.221.29.238,117.18.232.240,117.18.237.29,13.107.4.50,13.91.16.64,13.91.16.65,13.91.16.66,13.91.16.67,13.91.16.68,13.91.16.69,13.91.16.70,13.91.16.71,184.27.167.102,184.31.34.113,192.229.232.240,20.188.78.185,20.188.78.187,20.188.78.188,20.188.78.189,20.190.9.86,20.191.46.109,20.191.46.211,20.54.24.148,20.54.24.169,20.54.24.231,20.54.24.246,20.54.24.69,20.54.24.79,20.54.25.4,20.54.89.106,20.54.89.15,20.62.190.184,20.62.190.185,20.62.190.186,20.62.190.187,20.62.190.188,20.62.190.189,20.62.190.190,20.62.190.191,20.83.72.98,20.83.81.160,20.83.81.161,20.83.81.162,20.83.81.163,20.83.81.164,20.83.81.165,202.122.145.67,202.122.146.122,202.229.2.112,202.229.2.113,202.229.2.114,202.229.2.121,202.229.2.130,202.229.2.139,202.229.2.88,202.229.2.97,205.185.216.10,205.185.216.42,209.197.3.8,210.149.135.13,210.149.135.22,210.149.135.36,23.206.215.72,23.206.215.98,23.208.85.136,23.208.85.138,23.208.85.139,23.208.85.144,23.208.85.145,23.208.85.146,23.208.85.152,23.208.85.154,23.208.85.155,23.208.85.160,23.208.85.161,23.208.85.170,23.208.85.176,23.208.85.178,23.208.85.179,23.208.85.184,23.208.85.185,23.208.85.200,23.208.85.201,23.208.85.202,23.208.85.211,23.208.85.217,23.208.85.218,23.208.85.219,23.32.3.123,23.32.3.224,23.32.3.233,23.32.3.67,23.32.3.80,23.32.3.81,23.32.3.91,23.33.178.178,23.33.178.216,23.56.170.216,23.56.170.224,23.56.170.234,23.56.170.243,23.56.170.248,23.61.252.139,23.61.252.154,23.61.252.90,23.61.252.97,40.119.232.68,40.125.122.151,40.125.122.176,40.70.224.145,40.70.224.148,40.70.224.149,40.70.229.150,40.91.73.169,40.91.76.224,40.91.80.89,51.104.162.168,51.104.164.114,51.104.167.186,51.104.167.245,51.104.167.255,51.104.167.48,52.137.102.105,52.137.103.130,52.137.103.96,52.137.110.235,52.137.90.34,52.142.21.137,52.142.21.139,52.142.21.140,52.142.21.141,52.143.80.209,52.143.81.222,52.143.84.45,52.143.86.214,52.143.87.28,52.148.148.114,52.152.108.96,52.152.110.14,52.179.216.235,52.179.219.14,52.184.212.181,52.184.213.187,52.184.213.21,52.184.214.53,52.184.216.174,52.184.216.226,52.184.216.246,52.184.217.20,52.184.217.37,52.184.217.56,52.184.81.129,52.185.71.28,52.238.248.0,52.238.248.1,52.238.248.2,52.238.248.3,52.238.248.4,52.238.248.5,52.238.248.6,52.238.248.7,52.242.101.226,52.242.231.33,52.242.231.35,52.242.231.36,52.242.231.37,52.242.97.97,52.249.36.200,52.249.36.201,52.249.36.202,52.249.36.203,52.249.36.204,52.249.36.205,52.249.36.206,52.249.36.207,52.250.195.200,52.250.195.204,52.250.195.206,52.250.195.207,52.250.46.232,52.250.46.236,52.250.46.237,52.250.46.238,52.254.114.64,52.254.114.65,52.254.114.66,52.254.114.67,52.254.114.68,52.254.114.69,52.254.114.70,52.254.114.71,58.159.200.10,58.159.200.101,58.159.200.102,58.159.200.108,58.159.200.110,58.159.200.111,58.159.200.116,58.159.200.118,58.159.200.16,58.159.200.18,58.159.200.27,58.159.200.32,58.159.200.33,61.194.99.176,61.194.99.179,61.194.99.184,61.194.99.187,61.194.99.202,61.194.99.208,61.194.99.209,61.194.99.210,61.194.99.211,64.4.54.116,64.4.54.117,64.4.54.98,64.4.54.99,65.52.108.116,65.52.108.135,65.52.108.136,65.55.44.54,67.24.41.254,67.24.43.254,67.24.45.254,67.24.47.254,67.24.49.254,67.24.51.254,67.24.53.254,67.24.55.254,67.27.49.254,67.27.51.254,67.27.53.254,67.27.55.254,67.27.57.254,67.27.59.254,67.27.61.254,67.27.63.254,69.16.175.10,69.16.175.42,8.241.170.126,8.241.170.254,8.241.171.126,8.241.171.254,8.241.172.126,8.241.172.254,8.247.56.126,8.247.56.254,8.247.57.126,8.247.57.254,8.247.58.254,8.253.176.102,8.253.176.103,8.253.176.120,8.253.176.121,8.253.176.240,8.253.176.241,8.253.176.248,8.253.176.249,8.253.229.254,8.255.28.254,8.255.29.126,8.255.29.254,8.255.30.126,8.255.30.254,8.255.31.126,8.255.31.254,8.255.32.126,8.255.32.254,8.255.33.126,8.255.33.254,8.255.34.126,8.255.35.126,8.255.35.254,8.255.36.126,8.255.36.254,8.255.37.126,8.255.37.254,8.255.38.126,8.255.38.254,8.255.39.126,8.255.39.254,8.255.40.254,8.255.41.254,8.255.42.254,8.255.43.126,8.255.43.254,8.255.44.254,8.255.45.254,8.255.46.126,8.255.47.126,8.255.5.126,8.255.5.254,8.255.50.126,8.255.54.126,8.255.54.254,8.255.55.126,8.255.55.254,8.255.57.126,8.255.57.254,8.255.6.126,8.255.61.254,8.255.62.126,8.255.63.126,8.255.63.254,8.255.64.126,8.255.65.126,8.255.66.126 -LocalAddress Any Set-NetFirewallRule -DisplayName "Windows10Update_Outbound" -Direction Outbound -Action Block -RemoteAddress 0.0.0.0,104.119.253.167,104.78.81.77,111.221.29.211,111.221.29.212,111.221.29.213,111.221.29.214,111.221.29.236,111.221.29.238,117.18.232.240,117.18.237.29,13.107.4.50,13.91.16.64,13.91.16.65,13.91.16.66,13.91.16.67,13.91.16.68,13.91.16.69,13.91.16.70,13.91.16.71,184.27.167.102,184.31.34.113,192.229.232.240,20.188.78.185,20.188.78.187,20.188.78.188,20.188.78.189,20.190.9.86,20.191.46.109,20.191.46.211,20.54.24.148,20.54.24.169,20.54.24.231,20.54.24.246,20.54.24.69,20.54.24.79,20.54.25.4,20.54.89.106,20.54.89.15,20.62.190.184,20.62.190.185,20.62.190.186,20.62.190.187,20.62.190.188,20.62.190.189,20.62.190.190,20.62.190.191,20.83.72.98,20.83.81.160,20.83.81.161,20.83.81.162,20.83.81.163,20.83.81.164,20.83.81.165,202.122.145.67,202.122.146.122,202.229.2.112,202.229.2.113,202.229.2.114,202.229.2.121,202.229.2.130,202.229.2.139,202.229.2.88,202.229.2.97,205.185.216.10,205.185.216.42,209.197.3.8,210.149.135.13,210.149.135.22,210.149.135.36,23.206.215.72,23.206.215.98,23.208.85.136,23.208.85.138,23.208.85.139,23.208.85.144,23.208.85.145,23.208.85.146,23.208.85.152,23.208.85.154,23.208.85.155,23.208.85.160,23.208.85.161,23.208.85.170,23.208.85.176,23.208.85.178,23.208.85.179,23.208.85.184,23.208.85.185,23.208.85.200,23.208.85.201,23.208.85.202,23.208.85.211,23.208.85.217,23.208.85.218,23.208.85.219,23.32.3.123,23.32.3.224,23.32.3.233,23.32.3.67,23.32.3.80,23.32.3.81,23.32.3.91,23.33.178.178,23.33.178.216,23.56.170.216,23.56.170.224,23.56.170.234,23.56.170.243,23.56.170.248,23.61.252.139,23.61.252.154,23.61.252.90,23.61.252.97,40.119.232.68,40.125.122.151,40.125.122.176,40.70.224.145,40.70.224.148,40.70.224.149,40.70.229.150,40.91.73.169,40.91.76.224,40.91.80.89,51.104.162.168,51.104.164.114,51.104.167.186,51.104.167.245,51.104.167.255,51.104.167.48,52.137.102.105,52.137.103.130,52.137.103.96,52.137.110.235,52.137.90.34,52.142.21.137,52.142.21.139,52.142.21.140,52.142.21.141,52.143.80.209,52.143.81.222,52.143.84.45,52.143.86.214,52.143.87.28,52.148.148.114,52.152.108.96,52.152.110.14,52.179.216.235,52.179.219.14,52.184.212.181,52.184.213.187,52.184.213.21,52.184.214.53,52.184.216.174,52.184.216.226,52.184.216.246,52.184.217.20,52.184.217.37,52.184.217.56,52.184.81.129,52.185.71.28,52.238.248.0,52.238.248.1,52.238.248.2,52.238.248.3,52.238.248.4,52.238.248.5,52.238.248.6,52.238.248.7,52.242.101.226,52.242.231.33,52.242.231.35,52.242.231.36,52.242.231.37,52.242.97.97,52.249.36.200,52.249.36.201,52.249.36.202,52.249.36.203,52.249.36.204,52.249.36.205,52.249.36.206,52.249.36.207,52.250.195.200,52.250.195.204,52.250.195.206,52.250.195.207,52.250.46.232,52.250.46.236,52.250.46.237,52.250.46.238,52.254.114.64,52.254.114.65,52.254.114.66,52.254.114.67,52.254.114.68,52.254.114.69,52.254.114.70,52.254.114.71,58.159.200.10,58.159.200.101,58.159.200.102,58.159.200.108,58.159.200.110,58.159.200.111,58.159.200.116,58.159.200.118,58.159.200.16,58.159.200.18,58.159.200.27,58.159.200.32,58.159.200.33,61.194.99.176,61.194.99.179,61.194.99.184,61.194.99.187,61.194.99.202,61.194.99.208,61.194.99.209,61.194.99.210,61.194.99.211,64.4.54.116,64.4.54.117,64.4.54.98,64.4.54.99,65.52.108.116,65.52.108.135,65.52.108.136,65.55.44.54,67.24.41.254,67.24.43.254,67.24.45.254,67.24.47.254,67.24.49.254,67.24.51.254,67.24.53.254,67.24.55.254,67.27.49.254,67.27.51.254,67.27.53.254,67.27.55.254,67.27.57.254,67.27.59.254,67.27.61.254,67.27.63.254,69.16.175.10,69.16.175.42,8.241.170.126,8.241.170.254,8.241.171.126,8.241.171.254,8.241.172.126,8.241.172.254,8.247.56.126,8.247.56.254,8.247.57.126,8.247.57.254,8.247.58.254,8.253.176.102,8.253.176.103,8.253.176.120,8.253.176.121,8.253.176.240,8.253.176.241,8.253.176.248,8.253.176.249,8.253.229.254,8.255.28.254,8.255.29.126,8.255.29.254,8.255.30.126,8.255.30.254,8.255.31.126,8.255.31.254,8.255.32.126,8.255.32.254,8.255.33.126,8.255.33.254,8.255.34.126,8.255.35.126,8.255.35.254,8.255.36.126,8.255.36.254,8.255.37.126,8.255.37.254,8.255.38.126,8.255.38.254,8.255.39.126,8.255.39.254,8.255.40.254,8.255.41.254,8.255.42.254,8.255.43.126,8.255.43.254,8.255.44.254,8.255.45.254,8.255.46.126,8.255.47.126,8.255.5.126,8.255.5.254,8.255.50.126,8.255.54.126,8.255.54.254,8.255.55.126,8.255.55.254,8.255.57.126,8.255.57.254,8.255.6.126,8.255.61.254,8.255.62.126,8.255.63.126,8.255.63.254,8.255.64.126,8.255.65.126,8.255.66.126 -LocalAddress Any