How to allow incoming connections from specific ip address?

Page 1 of 2 12 LastLast

  1. Posts : 83
    Windows 7 Ultimate x64
       #1

    How to allow incoming connections from specific ip address?


    The default settings on the firewall are to block all incoming connection and allow all outgoing. My laptop and my android tablet are connected to my wireless home network, and i have some apps on my tablet which i need to connect to my laptop. How to create firewall rule which will allow all connections from the tablet ip address?
      My Computer


  2. Posts : 3,788
    win 8 32 bit
       #2

    Normally there is a setting to allow trafifc on the local subnet
      My Computer


  3. Posts : 31,249
    Windows 11 Pro x64 [Latest Release and Release Preview]
       #3

    There are a number of parameters that need to be setup to allow communication between Android and PC this can be done manually within windows but you would need to know the data types and the Port s that are to be used.

    It may be simpler to use a 3rd party solution - One such is Airdroid that is free, (with some limitations), that will do all the work for you

    You need an app on your tablet and either a small app on the PC or you can use a web based solution on the PC

    Take a look here ... Home | AirDroid
      My Computers


  4. Posts : 83
    Windows 7 Ultimate x64
    Thread Starter
       #4

    I want to do this without installing any application on my laptop.I just want to know if i can create a rule that will allow incoming connection from specific ip address and block all other incoming connection. For example, i have Total Commander app wiht LAN plugin on my tablet and if i want to connect to my laptop i have to allow all incoming connection, and i don't want to do that. I want to block all incoming connections and create rules only for connections from specific ip addresses.
      My Computer


  5. Posts : 1,363
    Win7 pro x64
       #5

    the CMD command

    netsh advfirewall firewall add rule name="Allow from 192.0.55.55" dir=in action=allow protocol=ANY remoteip=192.0.55.55

    will allow all inbound traffic from 192.0.55.55

    I assume you could also do this by adding a new rule in windows firewall advanced settings in the control panel gui

    You should also go into your router and make sure to set your inbound device to a static address (192.0.55.55 in the above example), otherwise it won't always have the same address and will not be able to get in
    Last edited by johnhoh; 09 Jan 2019 at 15:51.
      My Computer


  6. Posts : 3,788
    win 8 32 bit
       #6

    You don't state the firewall is it windows or third party?
      My Computer


  7. Posts : 83
    Windows 7 Ultimate x64
    Thread Starter
       #7

    johnhoh said:
    netsh advfirewall firewall add rule name="Allow from 192.0.55.55" dir=in action=allow protocol=ANY remoteip=192.0.55.55

    will allow all inbound traffic from 192.0.55.55

    I assume you could also do this by adding a new rule in windows firewall advanced settings in the control panel gui

    You should also go into your router and make sure to set your inbound device to a static address (192.0.55.55 in the above example), otherwise it won't always have the same address and will not be able to get in
    Thanks, it worked. But how to do that also from the gui?
      My Computer


  8. Posts : 83
    Windows 7 Ultimate x64
    Thread Starter
       #8

    samuria said:
    You don't state the firewall is it windows or third party?
    I am using the windows firewall.
      My Computer


  9. Posts : 1,363
    Win7 pro x64
       #9

    peter7277 said:
    Thanks, it worked. But how to do that also from the gui?

    control panel > windows firewall > advanced settings > right click on Inbound Rules > New Rule, then you figure it out from there. Have never done it.
      My Computer


  10. Posts : 83
    Windows 7 Ultimate x64
    Thread Starter
       #10

    johnhoh said:
    the CMD command

    netsh advfirewall firewall add rule name="Allow from 192.0.55.55" dir=in action=allow protocol=ANY remoteip=192.0.55.55

    will allow all inbound traffic from 192.0.55.55

    I assume you could also do this by adding a new rule in windows firewall advanced settings in the control panel gui

    You should also go into your router and make sure to set your inbound device to a static address (192.0.55.55 in the above example), otherwise it won't always have the same address and will not be able to get in
    How to allow incoming connections for ip range? For example, for ip addresses from 198.168.0.101 to 198.168.0.120
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:11.
Find Us