Thursday, July 24, 2014

Allow a program to connect only a particular internet IP address



How to specifically allow an application from connecting only a particular online IP address, but none others? Sometimes you want to block a particular program from connecting to internet. You can use a firewall program to do it. I recently wanted to allow a program to connect only a particular web server to allow it to download some data. Here is how I did it

Install COMODO Firewall (Free for home use)
Version tested and verified: 7.0.31 on July 22nd 2014
https://www.comodo.com

Steps:

  • Open the COMODO firewall interface and go to "Tasks".
  • Firewall tasks > Advanced setting > Application Rules
  • Right click somewhere inside the window and "Add". A new 'Comodo Application Rule' window will pop up.
  • On the top "Name" field, give the full path of the application EXE file.
  • Check "Use a Custom Ruleset"
  • Add > Copy from > Ruleset > Blocked Application





  • Double click on "Block All Incoming and Outgoing Requests"
  • On the "Destination Address" tab (middle one), drop down "IPv4 Single address" and type in the IP address you want the application to access. 
  • Click the checkbox "Exclude". Now it means that the application can only access the specified IP address and any other IP address connection will be silently blocked by the firewall.





You can check the log by going to COMODO interface > Tasks > general tasks > View Logs > View firewall events.

Did it work for you?

More information:
Application Rules, Firewall Protection, Best Firewall | Internet Security v6.3 http://help.comodo.com/topic-72-1-451-4772-.html

5 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. QuickBooks Support Phone Number serving a number of clients day by day, very conceivable you will hand up or need to trust that long time will interface with the Help Desk group . As indicated by statics discharged by the Bing and Google search bits of knowledge in excess of 50,000 individuals looking through the web to discover the QuickBooks Enterprise Tech Support Number every day and in excess of 2,000 quarries identified with Quickbooks issues and errors .

    ReplyDelete
  3. Excellent, This is an amazing superb article Keep Sharing this...
    Thanks a lot!!!!

    Germany VPS Hosting

    ReplyDelete