02 July 2012

Freegate on Mac OS X via Wine

UPDATED DLL link on 12/25/2012: Freegate is the most reliable proxy I've used so far. Running it is pretty straightforward.

1. First go to http://winebottler.kronenberg.org/, download and install winebottler.

2. Download freegate at http://us.dongtaiwang.com/loc/download.en.php

3. Run freegate in Wine and choose "Run directly in..."


Here's where you might get some trouble. You may get an error that says "mfc42.dll" not found. Then you'll have to copy the dll files into /Wine Files/drive_c/windows/system32/ or you'll have to use winetricks to install the MFC dlls.

4. Copy the dll files to wine's home system32 folder.


Now it should run without a problem. If you browse with Safari, you have to set up a HTTP proxy in your OS X system preferences according to Freegate's information. It'll tell you what ip address and port to connect to. In Firefox you can set the proxy settings in Firefox's connection settings. Let me know if you encounter any problems.

Here is the screen grab for the OS X system settings with default freegate settings.



NOTE: You may also find that Freegate often shuts down unexpectedly. You may want to try changing from the "A Tunnel" to the "F Tunnel" in order to fix the problem

If you feel annoyed by always changing your proxy settings, set up an Automatic Proxy Configuration to only use the proxy on certain websites.

------------------------------------

Installing mfc42 via wine tricks: (updated 9.mar.2013)




------------------------------------

UPDATED 03 April 2013: thanks to Stevo and Zoe for bringing the dead sharebees DLL link to my attention. i've updated the link above to this address https://mega.co.nz/#!lwYngbAB!...

14 comments:

  1. already set up but when freegate 7.31 run for couple seconds then there's a pop out message "Freegate has encountered a problem and needs to be closed. Sorry for the inconvenience." It still can surf if ignore this message but you can't configure any setting in Freegate dialogue box.

    ReplyDelete
  2. hey Rich, I've encountered this problem several times and I'm really not sure what's going on. You can try changing the tunnel setting from Tunnel A to Tunnel F. You don't have to change any proxy settings. Sometimes this gives me more stability.

    ReplyDelete
  3. Hey where to find the dll files ?
    Can anyone help me out with it.

    ReplyDelete
  4. Hi. Thanks for the clear instructions.

    However, the link to the sharebees website appears broken. Seems the 'dll files' download has expired on their website. Anywhere else I can download the 'dll files'?

    ReplyDelete
  5. Thanks for the heads up c.erhart. the updated address is http://www.sharebees.com/yp9bhefdcjlc.htm

    ReplyDelete
  6. Even after copying the dll files the wine gives me error "Cannot find 'MFC42.Dll'. Please re-install this application"

    I downloaded freegate fg738p.exe

    Please help. Thanks

    ReplyDelete
  7. Hi Avian, double check to see if you copied MFC42.dll into the correct folder (system32). if you copied it correctly, try to use winetricks to install mfc42 or vcrun6. if you still need help with this, i can post pictures to detail the steps. Definitely use the newest version of freegate though, I had many many problems with 737p and 738p seems to work much better.

    ReplyDelete
  8. Thank You! unkowed. I double checked by copying the mfc42 again and it did not work, then I used winetricks to install mfc42 and then it did worked. Thanks again.

    ReplyDelete
  9. I'm glad I could help. winetricks is probably the easiest and most reliable way to install the mfc42. when i first tried winetricks, it didnt work for some reason, so i had to think of an alternative method. i'm glad winetricks worked for you though!

    ReplyDelete
  10. I need some photos to help me. thanks

    ReplyDelete
  11. Stevo and Zoe,

    Sorry it has taken so long, but here's a link to the dll files.

    ReplyDelete
  12. What does Tunnel A and Tunnel F mean? Where can I find this?

    ReplyDelete
  13. Hi! I'm trying to figure this out. But it keeps saying "Freegate has encountered a problem and needs to be closed. Sorry for the inconvenience." I'm not sure where the Tunnel A and tunnel F is. Where can I find this?

    ReplyDelete