Configuring Winhttp Proxy using netsh

WUNSCH Robert (R-IT) 21 Reputation points
2021-07-23T10:04:41.883+00:00

Hi guy's,
we need to configure a Systemproxy for using Modern Management like Azure, InTune, ... Therefore Microsoft provides some URL's which need to be accepted on Proxy or Firewall.
So actually it's not possible for us, to do that on Firewalls. We've decided to create a Systemproxy.
But in my last tests, i recognized that if a Systemproxy, like

Blockquote

netsh winhttp set proxy proxy.contoso.com:8080 "localhost;*.contoso.com"

Blockquote

is set, some internal addresses like Hyper-V Server are not accessible via Hyper-V Console.
To avoid this issue, we want to configure the bypass-list.

As you can see, it should be possible to setup internal domain like *.contoso.com.

My question is, would it be possible to use instead networks, like 10.0.0.0/8 ?

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,346 questions
0 comments No comments
{count} votes

Accepted answer
  1. Candy Luo 12,701 Reputation points Microsoft Vendor
    2021-07-26T06:19:06.763+00:00

    Hi ,

    Based on my understanding, you want to specify a range of IP address in bypass-list. Is that right? Please feel free to let me know if I have any misunderstanding.

    Generally, you can specify a range of IP addresses or a specific domain name in bypass-list. So, in theory, it should be possible to use 10.0.0.0/8 in bypass-list.

    Best Regards,
    Candy

    --------------------------------------------------------------

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

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

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.