System Message Block (SMB) - Port 445

Posted on 2011-10-05
Last Modified: 2012-05-12
Is it possible to restrict access to port 445( few different services & applications) using Windows 7 firewall and block everything else on inbound traffic only.... ????
Question by:amstoots
    LVL 76

    Expert Comment

    No, you can not block access to a port based on the service that will be generating the requests.

    Author Comment

    so you are not able to set up inbound rule to only allow certain applications to use SMB and block all other inbound request... ?
    LVL 76

    Accepted Solution

    You would need to configure the outbound side to deny/block the applications from being able to access external resources.
    Windows Firewall control panel, advanced settings is where you can define the rules.
    You could restrict inbound requests to specific resources, but I do not think you can restrict access on a granular level i.e. workstations can not while server can.

    What is it you want to do? you could export the default policy.
    Adjust settings and see if you achieve what you want. If it does not work, restore/import the policy.
    LVL 11

    Expert Comment

    The closest way would be to create ACLs - list of IPs that can access mentioned host.
    You'd need L7 firewall that would inspect packets for any application-specific traffic (provided the applications you want to block generate one).
    LVL 52

    Assisted Solution

    Is there any difference between win7 and 2008r2 firewall? I cannot find any.
    Marek, did you even bother to open win7 firewall with advanced security? The "advanced" part is important. Now look at the default inbound rules and judge what can be done.
    LVL 27

    Expert Comment

    This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Suggested Solutions

    When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
    Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
    Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
    Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now