You could try this mod:
www.vbulletin.org/forum/showthread.php?t=231873 although it depends on certain fields being set in the request to detect a proxy.
Here's something else on the subject, it has to do with making the ip available if you use cloudflare:
http://www.cloudflare.com/wiki/VBulletin . I don't know a lot about the subject, and that link may only work for cloudflare customers, but it seems like if you have a way to look at what's being passed to you in the $_SERVER[] array then you should see if another ip is available, then you could follow those same instructions to solve your problem.