Command Line to Bypass Proxy Server for Local Servers and Sites on your Network

If it’s on my network, I shouldn’t have to go throught the proxy server to get to it.

c:\windows\system32\cmd.exe /k %windir%\system32\reg.exe ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyOverride /t REG_SZ /d "localhost;ThisServer;ThatServer;TheOtherServer;*.MyDomain.Com;*.MyOtherDomain.Com" /f

ipconfig /flushdns
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s