Jump to content
Sign in to follow this  
agenore

Block an IP/DNS

Recommended Posts

agenore

How can I block a program that try to access to IP/DNS x ( es. mysite.it:8080 )

Thx!!

Share this post


Link to post
Share on other sites
goldenix

try to use a firewall or open your hosts file in notepad & delete all lines. now paste this into your hosts file & save.

PS: I think that instead of blogger.com you can simply put the IP you want to deny access to you so it will look like this:

PSS: you can find hosts file in : C:\WINDOWS\system32\drivers\etc

127.0.0.1   192.64.84.88

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#     102.54.94.97   rhino.acme.com       # source server
#      38.25.63.10   x.acme.com           # x client host
#
#
#==================================
# <My personal Blockked Sites>
#==================================
127.0.0.1   content.yieldmanager.edgesuite.net
127.0.0.1   www.datefunclub.com
127.0.0.1   info-ad.de
127.0.0.1   www.datefunclub.com
127.0.0.1   edgesuite.net
127.0.0.1   www.usenext.de
127.0.0.1   adultfriendfinder.com
127.0.0.1   www.adbrite.com
127.0.0.1   globalmailer.com
127.0.0.1   blogger.com
127.0.0.1   etc.e-hentai.org
127.0.0.1   click.adbrite.com
#==================================
# </My personal Blockked Sites>
#==================================
Edited by goldenix

My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]

Share this post


Link to post
Share on other sites
agenore

it can block all program?

thx

Share this post


Link to post
Share on other sites
Xand3r

only if they use dns client provided by windows :) and most apps do!


Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×