none
Always on VPN Configuration of Proxy Server Bypass

    Question

  • I am trying to deploy an always on VPN profile using the VNP_Profile.ps1 script.

    Everything is working as expected except the proxy bypass settings.

    

    My current proxy configuration in the XML file looks like this:

    </NativeProfile>   
        <Proxy>
            <Manual>
                <Server>Proxy.domain.net</Server>
            </Manual>
        </Proxy>

    This sets a proxy server correctly but i need the ability to add sites to the bypass list(see below):

    If anyone could point me in the right direction that would be great.


    Wednesday, May 09, 2018 11:09 AM

Answers

  • I've managed to find a workaround for this issue by adding the following line of PowerShell to the end of the VPN_Profile script:

    Set-VPNConnectionProxy -Name **ConnectionName** -ProxyServer **Proxy Server:Port** -ExceptionPrefix "**Exceptions**" -BypassProxyForLocal | Out-Null

    • Marked as answer by 00Thatcher00 Thursday, May 10, 2018 6:52 PM
    Thursday, May 10, 2018 6:52 PM

All replies