Haystack needs your help to support a free Internet in Iran!

How to setup a proxy for Iran citizens (for Windows!)

Currently VPNs are one of the safest methods of evading censorship. HMA has hundreds of exit nodes/countries and many ways of accessing their servers.

If you’re using Windows, it’s pretty straight forward to setup a proxy and help give access to those in Iran who are being censored. If you’re running Redhat/CentOS, please use the linux instructions.

1) Download Squid for Windows
2) Extract that zip archive, and move the “squid” folder to the root of your drive (probably C:\).
3) After moving the squid folder, open “C:\squid\etc\squid.conf” in your favorite text editor (not Word).
4) Configure the DNS name servers on the line that says “dns_nameservers” to point at your ISPs DNS servers.
5) Now the fun part, locking access down the just the Iranian IP blocks.

Inside the text editor search (Control-W) for the line “http_access deny all” and change it to “http_access allow all”. This will make your proxy open and accessible to the world. If you would like to limit your proxy to Iranian IP blocks, you want to change “http_access deny all” to read “http_access allow TRUSTED” add a line (BEFORE the http_access line to setup an access control list [ACL]). This ACL line that defines TRUSTED should read:

acl TRUSTED src 62.60.128.0/17 62.193.0.0/19 62.220.96.0/19 77.36.128.0/17 77.77.64.0/18 77.104.64.0/18 77.237.64.0/19 77.237.160.0/19 77.245.224.0/20 78.38.0.0/15 78.109.192.0/20 78.110.112.0/20 78.111.0.0/20 78.154.32.0/19 78.157.32.0/19 78.158.160.0/19 79.127.0.0/17 79.132.192.0/19 79.170.144.0/21 79.175.128.0/18 80.66.176.0/20 80.69.240.0/20 80.71.112.0/20 80.75.0.0/20 80.191.0.0/16 80.242.0.0/20 80.253.128.0/20 80.253.144.0/20 81.12.0.0/17 81.28.32.0/20 81.28.48.0/20 81.31.160.0/20 81.31.176.0/20 81.90.144.0/20 81.91.128.0/20 81.91.144.0/20 82.99.192.0/18 82.115.0.0/19 83.147.192.0/18 84.47.192.0/18 84.241.0.0/18 85.9.64.0/18 85.15.0.0/18 85.133.128.0/17 85.185.0.0/16 85.198.0.0/18 86.109.32.0/19 87.107.0.0/16 87.247.160.0/19 87.248.128.0/19 89.144.128.0/18 89.165.0.0/17 89.221.80.0/20 89.235.64.0/18 91.98.0.0/15 91.184.64.0/19 91.186.192.0/19 91.206.122.0/23 91.208.165.0/24 91.209.242.0/24 91.212.16.0/24 91.212.19.0/24 91.212.252.0/24 92.42.48.0/21 92.50.0.0/18 92.61.176.0/20 92.62.176.0/20 92.242.192.0/19 93.110.0.0/16 93.190.24.0/21 94.74.128.0/18 94.101.128.0/20 94.101.176.0/20 94.101.240.0/20 94.139.160.0/19 94.182.0.0/15 94.184.0.0/17 94.232.168.0/21 94.241.128.0/18 95.38.0.0/16 95.80.128.0/18 95.81.64.0/18 95.82.0.0/18 95.82.64.0/18 95.130.56.0/21 95.130.240.0/21 188.34.0.0/16 188.93.64.0/21 188.121.96.0/19 188.121.128.0/19 188.136.128.0/17 188.158.0.0/15 193.189.122.0/23 194.225.0.0/16 195.146.32.0/19 212.16.64.0/19 212.33.192.0/19 212.50.224.0/19 212.80.0.0/19 212.95.128.0/19 212.120.192.0/19 213.176.0.0/19 213.176.32.0/19 213.176.64.0/18 213.195.0.0/18 213.207.192.0/18 213.217.32.0/19 213.233.160.0/19 217.11.16.0/20 217.24.144.0/20 217.25.48.0/20 217.64.144.0/20 217.66.192.0/20 217.66.208.0/20 217.146.208.0/20 217.172.96.0/19 217.174.16.0/20 217.218.0.0/15

6) Setup “visible_hostname” (normally just the public IP address).
7) Turn off logging by adding these two lines:

access_log none
cache_store_log none

7) Setup the Squid cache by issuing the following command: “c:\squid\sbin\squid -D –z” (No quotes).
8) Setup Squid to run as a service by issuing the following command: “c:\squid\sbin\squid –i”

Please don’t run this on a machine that you’re worried about or is used for production sites; and take basic security precautions, ie: moving ftp off the default port, using a firewall package, etc.

Once your server is up and running please DM @austinheap and let me know! I will no longer posting proxies on the public list. If you set one up, please e-mail [email protected] to contribute to the private one or e-mail me if your an Iranian that needs access!

Related posts:

  1. How to setup a proxy for Iran citizens
  2. How to setup a proxy for Iran citizens (for Mac!)
  3. How to setup a proxy for Iran citizens (Virtual Machine Disk Format!)
  4. Working Iran Proxy List
  5. State of the Iran Proxies
Tags Posted under Internets, Politics, Technology by
  • lili-white

    hi

    at the first blush,i must admit my english isnot good and so sorry for intrict and silly email.
    I have a question about my pc and antifilter.i use many proxyserver,at the moment “google translator ” but i couldnot enter to facebook .
    some of the antifilter are able to go the first page of facebook,but when i become so happy ,happy, facebook says please active “java”.
    this eror come in expelor ,mozzila and opera ,i used to opera.
    my PC always confirm that the java is activity.but i could not enter at all. i become disapear and i prefer to ask u….imnot expert in computer pc.
    I like to say ,,,a lot of Iranian people to esteem highly you -guardian and the other foreign journalist becouse of your confidently and leading.
    please send to mail

  • lili

    at the first blush,i must admit my english isnot good and so sorry for intrict and silly email.
    I have a question about my pc and antifilter.i use many proxyserver,at the moment “google translator ” but i couldnot enter to facebook .
    some of the antifilter are able to go the first page of facebook,but when i become so happy ,happy, facebook says please active “java”.
    this eror come in expelor ,mozzila and opera ,i used to opera.
    my PC always confirm that the java is activity.but i could not enter at all. i become disapear and i prefer to ask u….imnot expert in computer pc.
    I like to say ,,,a lot of Iranian people to esteem highly you -guardian and the other foreign journalist becouse of your confidently and leading.

  • Pingback: Using proxies to get around censors | jmppiran

  • Pingback: Crazy Story Ideas, part 3 « Shineanthology’s Weblog

  • http://www.chaamp.com/content/display/suerte_ruleta Birgit-Müller

    Damn, that sound’s so easy if you think about it.

  • AZADEH

    I need a power proxy for using face book. we are in a polotical company.

  • Amin

    Dear Austin,
    Do you think you could help shut down the site http://www.gerdab.ir ?

  • omid

    hi, thaks for helping us but it was not helpfull to me ! this is my first time i setup proxy and i did not understand you mean and texts. why you dont give us a proxy without this trouble such as VOA.
    any iranian peaple can help me by sending mail to me ([email protected]) ?
    thanks

  • http://www.getacreditcard.biz Bagadaningpax

    Apply For Credit Card today @ Getacreditcard.biz Find All Top Offers From Visa, Mastercard, Discover, American Express, We Offer A Wide Variety Of Credit Card Applications, Balance Transfers, Bad Credit Credit Cards, Student Cards, Business Credit Cards, Cash Back & Rewards, Gas Cards, Airline Mileage Cards, This Is A 5 Star Website its Easy To Find What You Want, Be Approved In Minutes!

    Mastercard

  • Parvaneh

    Hi Austin, I have sent again the message via FB. Could you please check ? Thank you.

  • reza

    setup proxy

  • http://[email protected] reza

    faghat nourizadeh

  • Mohammad

    I need to have a good free facebook proxy, please send me.

  • Behrouz

    I need to have a good free facebook proxy, please send me.

  • moein

    please give me a persian help

  • moein

    give me the crack of cproxy

  • mirror

    i need power prxy in iran

  • http://google mirror

    i need the power proxy for iran

  • http://ghoddeyesaratani.blogfa.com/ mehdi

    please send me proxys everyday

    thanks for your kindnesess

  • shabnam

    Thank you for assisting the people of Iran. Kindly send me proxy address too.

  • http://twitter.com mm

    kkk

  • mahdi hakim zadeh

    please give me a persian help

  • http://proxy.iran2 mahdi hakim zadeh

    Thank you for assisting the people of Iran. Kindly send me proxy address too

  • http://proxy.iran2 mahdi hakim zadeh

    please send me too

  • http://proxy.iran2 mahdi hakim zadeh

    pleaze send me too

  • http://proxy.iran2 mahdi hakim zadeh

    pleaze send to me a filter shekan

  • http://proxy.iran2 mahdi hakim zadeh

    wwww

  • hesam

    i did all the things u said and in the end when i want to run the service i see this error: could not start the squid service on local computer. error 1067: the proccess terminated unexpectedly.

    please contact me with my email address. thanks alot.

  • http://proxy974.co.cc bizgo974

    There are also easier proxies to use that are fully accessible online, such as http://proxy974.co.cc and http://business974.somee.com that a lot of iranians use, and that are absolutely not logged… It’s possible to access Facebook, Twitter, Myspace and all the internet :)

  • aida

    plz send me proxy

  • saeede

    proxy site

  • Pingback: …My heart’s in Accra » From compassion to action, from action to knowledge

  • sruosh

    باتشکر

  • mohammad reza

    سلام کلیه سایتهای فیلتر شکت رو میخوام لطفا…

  • brad

    send some phproxy for me please

  • http://www.yssdragil.com anant

    is there any way to keep the ACL and MAC address in mysql …. so that a web interface can be made for it

  • ali

    Please some proxy

  • Tarhata

    PLEASE HELP, I AM A FOREIGHNER LIVING IN TEHRAN, I USE TO USE A PROXY BUT NOW THEY HAVE FINALLY BLOCKED IT AS WELL….
    I M NOT VERY TECHNICAL, IS THERE A WAY U CAN EMAIL ME A SIMPLE BUT WILL WORK PROXY FOR ME TO BE ABLE TO USE FACEBOOK MY ONLY JOY OF LIVING HERE…..

  • Tarhata

    PLEASE HELP, I AM A FOREIGHNER LIVING IN TEHRAN, I USE TO USE A PROXY BUT NOW THEY HAVE FINALLY BLOCKED IT AS WELL….PLEASE EMAIL ME….
    I M NOT VERY TECHNICAL, IS THERE A WAY U CAN EMAIL ME A SIMPLE BUT WILL WORK PROXY FOR ME TO BE ABLE TO USE FACEBOOK MY ONLY JOY OF LIVING HERE…..

  • mohamad

    plese give me good proxy for iran

  • http://www.day2pill.com Me

    Good points, I think I will definitely subscribe! I’ll go and read some more! What do you see the future of this being?

  • http://www.proxiesforrent.com proxies

    I sell proxies for $10 each. They can be used anywhere in the world, including IRAN and are not blocked. Send me an email. They are USA based and I offer both HTTP and SOCKS5 configured proxy ip addresses for you to use.

  • http://www.glasspipescity.com DannyBoy

    How can I find more information related to this post? Its very interesting and I think this will benefit others after reading through the provided material. Thank you and keep up the good work!

  • http://yeswecan-iraj.blogspot.com iraj

    go here and download it and use scure and free https://blog.torproject.org/

  • Pingback: Carl Bildt och nyspråk « Full Mental Straightjacket

  • Pingback: Carl Bildt om yttrandefrihet « Emil Isberg

  • ali

    I need to have a good free proxy, please send me.

  • mohammad

    hi…would u please send me a kind of powerfull program for uncensoreing the sites..thanks

  • http://a5web.com Unamjalk

    Please advise on the top Software Deployment program available?
    I Googled the web and discovered the following:
    Kaseya.com
    GFI.com
    Logmein.com

    They all look different… Does anyone can recommend any other?
    Also did anybody else hear about that software:
    N-able remote monitoring software ?

  • samanehlover

    please send to me some freshproxy sites