Is it possible to add www.site.com to WF with just a click or script file?
By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!netsh
:netsh advfirewall firewall add rule name="Allow site.com" dir=out action=allow remoteip=%@ipaddress[www.site.com]
C:\>ping www.site.com
Pinging www.site.com [204.74.99.100] with 64 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 204.74.99.100:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss)
C:\>echo 127.0.0.1 www.site.com >>! "%systemroot\system32\drivers\etc\hosts"
C:\>nbtstat -R
Successful purge and preload of the NBT Remote Cache Name Table.
C:\>ping www.site.com
Pinging www.site.com [127.0.0.1] with 64 bytes of data:
Reply from 127.0.0.1: bytes=64 time<1ms TTL=128
Reply from 127.0.0.1: bytes=64 time<1ms TTL=128
Reply from 127.0.0.1: bytes=64 time<1ms TTL=128
Reply from 127.0.0.1: bytes=64 time<1ms TTL=128
Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss)
Approximate round trip times in milliseconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\>