Skip to content

Instantly share code, notes, and snippets.

@uZer
Last active December 21, 2015 09:39
Show Gist options
  • Save uZer/6286415 to your computer and use it in GitHub Desktop.
Save uZer/6286415 to your computer and use it in GitHub Desktop.
Block Steam services IP with Windows 7/8 Firewall without using the per application filter - reinstallproof (for your kids or your little brother). If you move folders from `Program Files (x86)\Steam\userdata` he won't be able to connect anymore.
# With cmd/powershell as administrator
## Add rule
netsh
advfirewall
firewall
add rule name="mySteam" dir=out action=block remoteip=24.89.185.8-24.89.185.15,49.143.234.0-49.143.234.255,63.145.202.0-63.145.202.15,63.150.152.136-63.150.152.143,63.228.223.96-63.228.223.111,63.236.109.96-63.236.109.103,65.113.241.32-65.113.241.47,65.122.178.64-65.122.178.79,67.132.200.128-67.132.200.191,67.134.197.240-67.134.197.255,67.134.199.64-67.134.199.79,68.177.101.0-68.177.101.127,72.165.61.128-72.165.61.191,77.67.56.160-77.67.56.191,77.67.60.32-77.67.60.63,77.67.60.128-77.67.60.135,77.67.60.152-77.67.60.159,103.10.124.0-103.10.125.255,103.28.54.0-103.28.55.255,146.66.152.0-146.66.153.255,146.66.156.0-146.66.157.255,207.159.120.144-207.159.120.159,213.202.254.128-213.202.254.143,213.202.254.192-213.202.254.207,216.207.205.96-216.207.205.111,63.98.16.176-63.98.16.183,65.113.241.32-65.113.241.47,67.134.197.240-67.134.197.255,67.134.199.64-67.134.199.79,72.165.61.128-72.165.61.191,207.173.176.0-207.173.179.255,216.190.227.0-216.190.227.255,63.236.79.96-63.236.79.103,63.236.98.112-63.236.98.119,69.28.128.0-69.28.191.255,208.111.128.0-208.111.191.255,87.248.192.0-87.248.223.255,209.3.157.112-209.3.157.119,66.77.143.136-66.77.143.143,117.121.248.122-117.121.248.125,67.132.200.128-67.132.200.191,65.122.178.64-65.122.178.79,213.202.254.128-213.202.254.143,203.77.184.0-203.77.191.255,68.142.64.0-68.142.127.255,67.135.39.128-67.135.39.191,68.177.101.0-68.177.101.127,63.236.12.136-63.236.12.143,117.121.248.0-117.121.255.255,63.224.0.0-63.231.255.255,216.207.205.96-216.207.205.111,81.171.115.0-81.171.115.31,146.66.152.0-146.66.153.255,208.64.200.0-208.64.203.255,63.146.183.0-63.146.183.63,204.63.214.0-204.63.215.255,103.10.124.0-103.10.125.255 enable=yes
exit
## Remove Rule
netsh
advfirewall
firewall
delete rule name="mySteam"
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment