How to create a new rule in Windows Firewall to permit some specific IPs and block all other computers

Hello,
I have a Win7 PC. I want to block all incoming connections except 3 or 4 IPs. How can i do this?
I created a new rule to block all connections using this steps:
Inbound rules > New Rule > Custom > All Programs > All Protocols / Ports > All Local/Remote IPs > Block the connectiion > All profiles > Then i gave a name
This rule works fine and blocks all incoming connections.
Then i want to create a new rule to allow specific IPs using this steps:
Inbound rules > New Rule > Custom > All Programs > All Protocols / Ports > Remote IPs: 192.168.10.5, 192.168.10.10 > Allow the connection > All profiles > Then i gave a name
But 192.168.10.5 and 192.168.10.10 couldn't reach W7 machine. 
(If rules are disabled or FW is off; both IPs could reach W7 machine)
Thanks

Hi,
How did you check these two IP address? Through remote access? According to your description, it should only allow remote IP could access this computer. Please also allow local IP for test.
Roger Lu
TechNet Community Support

Similar Messages

  • How to create a custom control of a button where the look will be applied to all others but not the Boolean text?

    Hi all
    I would like to create a customized button as a master so that if I change the look of the master all other buttons will change too.
    I have done this with a custom control as a "strict type def" otherwise the look will not change BUT If I do this as a strict type def I cannot change the Boolean text anymore which should be different on every button.
    How can I create a master control of a button where the look will be applied to all others but not the Boolean text?
    Stay Hungry, Stay Foolish
    Solved!
    Go to Solution.

    Steve Chandler wrote:
    I don't think you can do that. I just looked and as I suspected the Boolean text property is read only for strict typedefs so you cannot use property nodes to change the text.
    As a workaround just make it a typedef. When you want to change the look open the typedef and make it strict, make your changes, then make it non strict again. You will have to update the Boolean text again for all instances. Kind of a pain. Maybe this is something for the idea exchange.
    Kudos for being sneaky.
    I like these creative work-arounds!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to create a new workspace and change the name of the existing

    Hi,
    can any one help me how to create a new workspace in application express 3.1 on XE DB and how to change the name of a existing workspace.
    thanks
    Jana

    Jana,
    This is discussed at length in the User's Guide. See the section "Creating Workspaces".
    To rename a workspace using the admin application, edit the workspace attributes and type a new name in the field where the old name appears, then Apply Changes.
    Scott

  • How to create multiple new rows in ADF Table?

    Hello,
    being new to ADF Faces/BC I managed to display data in an ADF Table and create new entries using the "CreateInsert" operation (one at a time).
    Now, the next task is to create multiple new rows at the same time, set some default values and display the new rows in the ADF table. Then the user will enter additional data and commit the new rows.
    Where do I step in? In the EntitiyImpl? Can this be handled declaratively or do I have to implement custom method(s) in the AM?
    Thanks
    Gerald

    Hi John,
    I'm still getting the following error
    Error(94,144): method getValue() not found in class javax.faces.el.ValueBinding
    What should it be casted to?
    The code in backing bean is like this..
    package view.backing;
    //import com.test.model.TestAppModuleImpl;
    import javax.faces.component.html.HtmlForm;
    import javax.faces.component.html.HtmlPanelGroup;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    //import javax.faces.event.FacesListener;
    //import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCBindingContainer;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.adf.view.faces.component.core.data.CoreColumn;
    import oracle.adf.view.faces.component.core.data.CoreTable;
    import oracle.adf.view.faces.component.core.input.CoreInputText;
    import oracle.adf.view.faces.component.core.nav.CoreCommandButton;
    import oracle.adf.view.faces.component.core.output.CoreMessages;
    import oracle.adf.view.faces.component.html.HtmlBody;
    import oracle.adf.view.faces.component.html.HtmlHead;
    import oracle.adf.view.faces.component.html.HtmlHtml;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    //import oracle.jbo.server.ViewObjectImpl;
    //import view.utils.EL;
    public class MultipleInsert1 {
    private HtmlHtml html1;
    private HtmlHead head1;
    private HtmlBody body1;
    private CoreMessages messages1;
    private HtmlForm form1;
    private CoreTable table1;
    private CoreColumn column1;
    private CoreInputText inputText1;
    private CoreColumn column2;
    private CoreInputText inputText2;
    private CoreCommandButton commandButton1;
    private HtmlPanelGroup panelGroup1;
    private CoreCommandButton commandButton2;
    public void setHtml1(HtmlHtml html1) {
    this.html1 = html1;
    public void createMultiRows(ActionEvent actionEvent) {
    DCBindingContainer dc = (DCBindingContainer) FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bindings}").getValue();
    DCIteratorBinding iter = dc.findIteratorBinding("TestView1Iterator");
    ViewObject vo = iter.getViewObject();
    for (int i=1; i<=5; i++) {
    Row newRow = vo.createRow();
    newRow.setAttribute("Id", i);
    ApplicationModule am = vo.getApplicationModule();
    am.getTransaction().commit();
    vo.executeQuery();
    Do I need to import something else?
    Thanks,
    Shri.

  • How do you create a new rule in CC?

    Help! Missing the CSS style panel. How do I create a new rule in CC?

    photodiva wrote:
    Help! Missing the CSS style panel. How do I create a new rule in CC?
    If css style panel is missing then you can reset your designer.  In CS6 the process was:
    Windows >> Workspace Layout >> Reset Designer
    See this picture:
    Now to create a new style should be easy.  Just see this picture:
    I don't use CC so I don't know if the process is still the same.
    Good luck.

  • How to create a new album in iCloud windows 7

    How to create a new album in iCloud on a windows 7  op. system, ready to accept old photos?

    Since asking the question I have a workaround. Load your photos into iCloud on the PC.They will then appear on the iPad in all photos. Create a new album on the iPad [plus sign top left corner]. Select your photos to place into the album. Press add [top line] and the photos pop into the album. This will then appear in iCloud on the PC. Be nice if there was a create new album on the PC. All done in windows 7.

  • How to create a new connection from SAPGUI to Test drive?

    Hi,
    I have installed Sap Netweaver Test drive on a linux virtual machine (windows host). The installation was successful and I was able to start the instance (application server and the database), yet I don't know how to create a new connection from my SAPGUI client (7.20) to this server. The static IP address of the server is 192.168.1.160.
    I entered the following values for my new connection entry
    Description: SAP Netweaver
    Application server: 192.168.1.160
    Instance number: 01
    System ID: DB2
    SAProuter: /H/192.168.1.160/S/3201/H/
    But it does not work. Any idea about the values needed  for creating a new entry?
    Thanks in advance,
    Dariyoosh

    >
    Dibya R Das wrote:
    > Why are you entering a router string? Can't you reach a box directly from your machine?
    >
    > Doesn't a ping to that host & a "telnet <host/ip address> 3201" work from your machine to the SAP System.
    >
    > Remove the router string you wont need if the above works.
    >
    > - Regards, Dibya
    Hello there,
    Thank you very much for your answer which solved my problem. In fact there was no need of providing router string.
    Kind Regards,
    Dariyoosh

  • How to create a new place in iPhoto 11 without doing any harm?

    Yes, I know how to create a new place for a photo -- theoretically:
    Select the photo.
    Make sure the Info icon in the lower right portion of the iPhoto window is clicked and the too-tiny-for-any-but-the-youngest-eyes map is displaying.
    Click in "Assign a Place..." and begin typing a place that iPhoto will search for.  It searches in both "your places" (i.e., those that you have already defined) as well as in Google Maps.
    When you see a place in the search results list that you think might be close to the one you mean, select it.
    A pin appears on the itsy-bitsy map.  Move it to the exact place you mean.  You can make controls appear on the map by moving the mouse over the bottom of the map.  The controls allow you to zoom in and out, and to change views (Terrain, Satellite, Hybrid).  When the pin is where you want it, click it. The current name of the location appears.  Modify it to the name you want, then click the check mark.
    That's "all" there is to it ... except for a couple of "gotchas."
    There's a difference between what happens when you select a place that you've defined and when you select a place that Google found in the search results.  If it's a place that you've defined, and you then move the pin to a new location and/or change its name, this will affect all photos assigned to the custom place.  In effect, you are modifying the place.
    All places have a radius associated with them, thereby making them circles.  You can adjust the radius only in the Maintain My Places window.  In the itsy-bitsy map it doesn't even appear.  However, if the newly defined place overlaps existing ones, all the photos assigned to the overlapped places will be assigned to the new one.  Their pins will remain where they were.
    Now, before anybody suggests sending feedback to Apple, let me emphasize that I have been sending Apple feedback on the wrong-headed implementation of Places since iPhoto 9.0.  New versions have come and gone (the current one is 9.1.2), but these "features" have remained.  So my purpose in opening this thread is to consolidate work arounds to these "features" in one place.  My work around: 
    Whenever I define a new place, I select only a single photo.  I try to name my places so that I can distinguish them from those that Google finds.  In order to avoid Gotcha 1 I select a place that Google finds and try to place the pin close enough to where I want it, but far enough from any other places that I've defined.  I give it a name that I can easily find it Manage My Place.
    I immediately open Manage My Places and select the new place.  I first note the pins near it, then decrease its radius, move the pin to the desired location, note the nearby places, and give it its final name.
    I then view Places and navigate to the new place to view the photos assigned to it.  If I'm lucky, there's only one.  Otherwise, I have to reassign the other photos to their correct places.
    Richard

    So... in the hope it will not confuse folks more, let me be more specific of a procedure that works for me...
    Procedure to create a new My Places location.
    OK there is more you can do with a non-GPS Coord linked photo.
    Click Info and then click Assign a Place in the lower right of screen. (if your photo has a location linked to it already the Assign a Place will NOT show up.)
    Choose a location name near the actual location that Google Maps can find.
    Click that location in the Google Maps list that appears and your photo will be temporarily assigned to that location.
    Now  type over that  location name in order to make sure to give that location a unique name that will show up in your My Places list and click that name after you have typed it  to be sure it is accepted.
    Now in iPhoto click Window/Manage My Places and go the that newly named location in the large My Places map. There's no easy search. You have to run down through the alphabetical list.
    Drag the flag to the location you want this place to be and click Done.
    The location name is now in your My Places list at the location you dragged the flag to!
    It is important to note that only your unique named locations show up in your Places list, so if you want to modify the location coordinates you have to establish a unique name for it.
    This is much more complicated that previous iPhoto versions!
    But Yeah!!!!!!!!!!
    It really works!!!!!!!

  • Creating a New Folder in Windows Registry by java coding

    Good morning,
    hi to all,
    how can I create a New folder in Window Registry using Java coding. Can anybody help me out pls.
    I begin waiting for ur reply.
    Thanx

    Why do you feel you need to write to the Windows registry directly? Take a look at the Preferences class.
    {color:#0000ff}http://java.sun.com/javase/6/docs/api/java/util/prefs/Preferences.html{color}
    luck, db

  • How to create a new folder in my iPad hotmail?

    How toI create a new folder in my iPad hotmail?

    You can only do it with IMAP email account; to do this:
    1. Go to your email account in the Mail app and look at the window where your Inbox, Trash folder and Sent folder are.
    2. Tap the Edit button
    3. Tap Add Mailbox (bottom)
    Note: If there is no Edit button, your email account is not a IMAP account

  • How to create a new session in JSP file

    Usually a child IE window uses same session with parent window. Dose someone know how to create a new session when creating a new IE window by clicking a URL in parent window? The web page is writen by jsp file.

    I am not sure of your question. Are you wanting to have 2 Session objects (one for the parent window and another for the child)?
    A session is usually created once per client and is stored on the server the session id is carried around in a cookie or a URL rewrite so that everytime the user submits a page you will be able to store/access information.
    // this will create a new session object if one doesn't already exist.
    HttpServletRequest.getSession( true );
    Hope this helps

  • How to Create Roaming Profile(s) For Windows Workgroups

    This Tutorial Shows how to create roaming profile(s) for Windows Workgroups.
    Here are the steps in order to do this:
    On the host PC:
    1. Goto 'Folder Options'>'View' and un-tick 'Use Simple File Sharing'.
    2. Goto Network Connections and right click on the 'Local Area Connection' (Ethernet recommended)
    3. Goto Properties>General, and tick 'File and Printer Sharing'.
    Click Apply + Ok.
    4. Goto Control Panel>User Accounts, add a new user.
    5. Logon to this user, and open the profile folder properties.
    5b. Share this folder.
    6. Make the Share permissions so that 'everyone' has: Full Control, Read, Change.
    Click Apply + Ok.
    7. Click on 'Caching' and disable Caching for this Share.
    Click Ok.
    8. Now goto the 'Security' tab and give 'Administrator' and 'SYSTEM' 'Full Control'.
    Click Apply + Ok.
    On the remote PC(s):
    1. Make the same User as on the Host.
    1b.Logon to the account and log back out again. Delete the profile folder from 'Documents and Settings'.
    3. Give 'SYSTEM': 'Read','Read and Execute','List Folder Contents' to the 'Administrators' Profile
    4. Type 'lusrmgr.msc' into run, goto: 'Users', double click on the new user and goto the 'Profile' tab.
    4b. In the 'Profile Path' box, type \\hostPCname\ProfileName.
    Click Apply + Ok
    *Note* Replace the \\path\ accordingly to what names are on your Host PC.
    5. Goto regedit>HKLM\Software\Microsoft\Windows NT\CurrentVersion. Double click
    on 'ProfileList'.
    Find which key is for the new user. (Example S-1-5-21-58435627-18431725-18026167-1003)
    6. Right click that key and goto: 'Permissions' and give 'SYSTEM' 'read'.
    *Note* Once you logon to the roaming profile from the remote PC for the first time you can undo this step.
    7. goto GPEdit>Computer Configuration/Administrative Templates/System/User Profiles:
    Enable these settings:
    'Do not check for user ownership of roaming profile folders'
    'Delete cached copies of roaming profiles'
    'Log users off when roaming profile fails'
    "Add the Administrators security group to roaming profiles'
    'Prevent roaming profile changes from propagating to the server'
    7b. Make 'Timeout for dialog boxes' '1' (seconds)
    8. goto: Computer Configuration/Security Settings/Local Policies/Security Options:
    Make 'Number of previous logons to cache (if server is unavailable) '0'
    Now you're ready to login to the Profile on the remote PC.
    *Note* Sometimes, when windows loads it takes a minute for the profile folder to become shared again.
    Thanks for reading.

    Hi,
    I have replied to the below thread mentioning the FM's to create Profile sets, profiles and also target groups. This may be helpful to you.
    Re: target group creation
    Regards,
    Priyanka

  • How to create a new template for pages in iPad?

    How to create a new template for pages in iPad?

    In spite of the latest updates Pages for iPad does not support:
    1) User templates
    2) Headers
    3) Footers
    4) Page numbers
    and it is not compatible with Pages for OSX, a document cannot be edited alternatively on Mac and iPad without destroying headers and footers.
    - The Word export is far from perfect
    - Does not really support Page Layout mode (you cannot duplicate a page at least)
    - Does not have a multi-page overview
    - The spelling support of iOS and OSX is at the level of Apple Maps except 4-5 languages.
    - It takes a long time until it starts
    INSTEAD, according to the latest updates:
    - It can do change tracking
    - Lock and unlock objects
    - Add reflections to shapes
    Dear Apple, please understand:
    - We like iPad and we wish to use it for real work.
    - We wish to have user templates, headers, footers and page numbers.
    - We do not expect all the features of Pages for OSX, but we do expect real compatibility.
    - We do not wish to switch back to Word for Windows unless you force us.
    Please try to concentrate on real development not on unimportant changes like in the latest dissapointing update.

  • How to create a new account for Portal

    Hi,
    I just installed portal in my windows xp pc. Currently, I can log into the portal home page as a single sign-on user. (super user). I'm wondering how to create a new account for a portal user so that I don't have to sign on as an admin.
    Thank you so much for your reply,
    Emily

    login into SSO and create an User
    1. Login into Portal -> Builder ->Administer click on User Management which takes you to oiddas were you can create the user
    or login into sso directly
    http://<host>:<port>/pls/orasso
    http://<host>:<port>/oiddas
    Murali

  • How to create a new partition

    i just got a new thinkpa. i would like to know how to create a new partition. 
    i tried partition magic 8.0 and it gave me BSoDs. please let me know. thanks. 
    thinkpad t400 t9400
    2gb ram
    windows sp3
    160gb 7200 rpm

    folivio wrote:
    I'm not an expert, but I partitioned the C: drive and made a partition for Windows 8. It worked perfectly as a multi-boot setup.
    A word of caution...Make sure that you want to make it a permanent change. When I removed the Win 8 partition and tried to restore my system to factory settings, I could not get the F2 during restart to work. F2 now brings up the multi-boot screen. So I tried to restore using the DVD Restore Set I made before I did anything to the partitions. I was able to boot to the DVD Restore Set by using the F12 key during restart and selecting the BDDVD drive. It looked like it was going to work, but after it loaded the minmum Windows files and I clicked on Restore, I got an error stating that the partition had changed and I could not restore.
    I contacted tech support and they are sending me a disc to restore the system.
    Regards
    Thanks for the heads up. I'd like to use the SSD for installing Windows 8. It seems to have about 25GB free. Isn't that a better place to install the OS? I am not sure why the bigger drive is marked as C: and the small, faster one as D: :-(

Maybe you are looking for

  • Item Category Grayed Out (Not Available for Input)

    Hi Experts, I want to know SAPs logic for graying out it. cat. field (PSTYV) when entering an Order. Item category  cannot be changed while creating an order once its determined. How & why does SAP grays out it. cat. field and under which circumstanc

  • Making my Flash Canvas / HTML5 responsive without stretching project?

    So I'm really close to completing this Flash-based Canvas project. Issue is I want it to scale down for different browser sizes. I kind of have that now.....sort of. Let me try to explain. I have this link: Punk Rock Fitness | Made in LA Fitness | Lo

  • IOS 5 double tap for period

    Since upgrading my  Verizon  iPhone 4 to iOS 5 I cannot get a period after double tapping the space bar.  Help me!

  • Serial Number issue. (Please Read)

    After my logic board has been replaced while traveling around the world, I found out that when I tried to check the serial number in "About this Mac", it shows "SystemSeumb"... Is there a way to fix this issue? or I have to bring it in to have a chec

  • 2014 M/book Air is not starting up normally

    Hello, my mac book air is running Yosemite. My first repair came recently with replacing the Logic Board on 10/27/14. About 2 weeks later my start up would go halfway and stop requiring a restart. The next start up would complete ok. On 11/29/14, my