Results 1 to 6 of 6

Thread: Incoming connections

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2009
    Location
    Croatia
    Posts
    201

    Incoming connections

    Hi!

    I was wondering, if there is a way to block incoming connections from specific ip adress that tries to connect to computer

    I assume that it cant be via windows host files

    Any help would be appreciated

  2. #2

    Re: Incoming connections

    Are you trying to create some sort of Firewall? Blocking incoming connections is usually done by a Router or Modem...but I don't know how you'd do such a thing in VB.net. You'd have to monitor the Internet Activity of your system with sockets I'd imagine, but don't quote me on that cause I don't really know...

    It would appear that someone on DiC (Dream in Code) posted some sort of filtering system here towards the bottom, but it was recommended to just create a rule using Windows Firewall to block/filter out the IP Address. No clue if the system posted actually works though, so use at your own risk

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Apr 2009
    Location
    Croatia
    Posts
    201

    Re: Incoming connections

    well, i would need this for blocking certain ip adresses from connecting on my pc and download things (peers) and program would work something like peerguardian (if you know) but only it would block any adress that is entered, not only connected
    or maybe one of those that are retrieved with netstat

    so, you say that it can be done with win firewall?
    any specific information or something?

    Thanks in advance

  4. #4

    Re: Incoming connections

    Did you go to that link I posted? It gave some tips for searching the Internet on what to find.

  5. #5
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Incoming connections

    Any firewall program (including Windows Firewall) will let you block specific IP addresses - if you dont know how to do it then just google it or have a look around in the firewall program you are using, its usually pretty obvious...

    Oh and has this actually got anything to do with VB.NET or are you just generally looking for any way to do it?
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  6. #6

    Thread Starter
    Addicted Member
    Join Date
    Apr 2009
    Location
    Croatia
    Posts
    201

    Re: Incoming connections

    im looking for a way to do it in vb.NET
    but il look around now, if i dont find anything, il come back here

    thanks for help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width