What you need to configure to use NuGet with a proxy server.
nuget.exe config -set http_proxy=http://my.proxy.address:port
nuget.exe config -set http_proxy.user=mydomain\myUserName
nuget.exe config -set http_proxy.password=myPassword
See http://stackoverflow.com/questions/9232160/nuget-behind-proxy for more information on this.