Force MSN Messenger to Use a Proxy

Noah Petherbridge
kirsle
Posted by Noah Petherbridge on Friday, December 30 2011 @ 02:33:45 PM
For anybody wanting to know how to do this, it's possible to force Windows Live Messenger to obey your proxy settings.

In my case I wanted MSN 2011 to connect using a socks proxy (using SSH port forwarding to use an SSH tunnel as SOCKS 5 proxy).

To set the proxy settings, go to the "Connection" page in the preferences of MSN Messenger, click Advanced Settings and enter your proxy details.

The problem is, MSN will only use your proxy settings if it can't normally connect to MSN without them (i.e. if your default TCP internet connection will work, MSN will always use that instead of your proxy settings). This is how you can force MSN to use the proxy settings.

You have to block MSN from being able to connect to its authentication servers without the proxy. To do this, we have to tamper with the Hosts file.

The Hosts file on Windows is kept at C:\Windows\System32\drivers\etc\hosts (note that it doesn't have a file extension). Open this in a text editor like Notepad or the edit command in Command Prompt (I prefer the latter approach because you can open a Command Prompt window as Administrator and then editing the file is a snap without having to deal with permission issues when saving changes).

Add these lines to the Hosts file:

127.0.0.1       messenger.hotmail.com
127.0.0.1       msgr.hotmail.com
127.0.0.1       gateway.messenger.hotmail.com
127.0.0.1       login.gateway.hotmail.com
And then restart MSN and it should have difficulty connecting without the proxy settings (if using a SOCKS proxy, attempt to sign into MSN before you open the proxy to be sure that it fails to connect. Then start the proxy and see that it successfully signs in).

This works by routing all the MSN Messenger hostnames to the loopback address and blocks MSN from being able to authenticate. But with the SOCKS proxy, it can connect because it would do the DNS lookups from the SSH server instead of the local system.

Hope this helps someone!

Categories:

[ Blog ]

Comments

There are 9 comments on this page.

guest
guest
Posted on Tuesday, January 31 2012 @ 06:44:56 PM by Frank Lin.

It really helps!! Let me try the solution on my network.

guest
guest
Posted on Tuesday, January 31 2012 @ 07:20:29 PM by Frank Lin.

Still failed in my network.

MSN just connect to public IP directly, even if I added the entries into hosts AND remove the DNS server setting in local pc. It looks that MSN buildin the pulbic IP of their servers or cached the resolved IP already.

It is really a headache problem.

guest
guest
Posted on Tuesday, June 19 2012 @ 05:04:49 PM by hamza.

fhv

guest
guest
Posted on Friday, February 22 2013 @ 06:59:03 AM by Idd.

Indeed I can't either block MSN just by adding those lines in the hosts file.

guest
guest
Posted on Thursday, March 28 2013 @ 05:25:30 AM by Ebs Sixtynine.

Has anybody got a WORKING update for this..ive got WLM9 build 14 from uk.. which does seem to be working at all when u at those above details in the host file..
seems china transparent or anon proxies aint no use to this

guest
guest
Posted on Friday, April 26 2013 @ 03:23:00 PM by sjgahgsajl.

I tried the instructions above, but the fields where I'm supposed to type in the proxy IP and port are disabled and it's not possible to type in anything there. Any suggestion on how to fix this?

guest
guest
Posted on Thursday, May 02 2013 @ 12:43:17 AM by gringoow.

This is really works. Thakns for post.

guest
guest
Posted on Thursday, May 02 2013 @ 05:58:14 AM by GuenosNoLife.

You can use MSN 8.5 with 10 mb ram (sur xp 6 mb ram), without proxies or edit host : http://ibuild.fr/index.php?/topic/21156-avoir-msn-85-serveur-on-chinois/

Or download direct : http://www.mediafire.com/?9cqlb7lz6a6dgga

guest
guest
Posted on Saturday, June 08 2013 @ 11:44:20 AM by Akaash.

how do you open a hosts file sort of thing?

Add a Comment

Your name:
Your Email:
Message:
Comments can be formatted with Markdown, and you can use
emoticons in your comment.

If you can see this, don't touch the following fields.



Kirsle
Channels
Creativity
Software
Web Tools
Subdomains
Miscellany
Links


Fan Club