setup proxy app.config in .net
- by acidzombie24
I am having much problems setting up the proxy through app.config. I want 2 ip address to go through my proxy on my local computer. From what i can tell i need to set a proxy then set a bypass list. So i figure .* will match everything and i'll just remove the two i want. So i wrote the below and the 2 ip address (i realize the 2nd is a range) is being bypassed. Maybe i need to more the add to the end? the address are still being bypassed.
How do i change this so all websites do not go to my proxy and the two ip do?
<system.net>
<defaultProxy>
<proxy
proxyaddress="http://127.0.0.1"
/>
<bypasslist>
<remove address="209\.62\.36\.21" />
<remove address="72\.21\.\d{1,3}\.\d{1,3}" />
<add address=".*" />
</bypasslist>
</defaultProxy>
</system.net>