Windows Firewall/Internet Connection Sharing

家豪 邬 0 Reputation points
2023-08-21T03:35:07.24+00:00

Hello engineer, the technical problem I am currently encountering is that I need to configure a Windows Server 2019 and Windows 10 host with its own firewall. The requirement is to configure the firewall to the least privilege and send the traffic that needs to be forwarded to the designated device I tried to search for articles on my own to solve this problem, but I found that only hardware firewalls have this function. I want to know whether it is possible to configure the built-in firewall in Windows, or how to implement this function. Thank you, engineer, for your trouble!

Windows for business | Windows Server | User experience | Other
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-08-22T06:20:17.0933333+00:00

    Hi @家豪 邬

    Here are some steps you can follow:

    • To enable Windows Defender Firewall and configure the default behavior, use the Windows Defender Firewall with Advanced Security snap-in. You can open it by typing WF.msc in the Start menu. For more details, see Best practices for configuring Windows Defender Firewall.
    • To open a port on Windows Defender Firewall for inbound traffic, you need to create a new inbound rule. You can do this by right-clicking Inbound Rules in the left pane and selecting New Rule. You will need to specify the protocol (TCP or UDP), the port number, and the action (allow or block) for the rule. For more details, see How Do I Open a Port on Windows Firewall?.
    • To forward traffic from one device to another device on your network, you need to enable port forwarding on Windows Defender Firewall. You can do this by creating a new inbound rule with the Custom option. You will need to specify the protocol, the local port, the remote port, and the remote IP address for the rule. For more details, see How to Set Up Port Forwarding in Windows.

    Hope the information is helpful.

    Best Regards,

    Hania Lian

    ============================================
    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.