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

How to setup a proxy for Iran citizens (Virtual Machine Disk Format!)

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.

Update: Version v0.3 has been posted, thanks James!

Great news all — the wonderful user “xxxxxx” has contributed a Virtual Machine Disk Format to the proxy campaign!

All you need to do is grab a copy of the VMDK file with your favorite web browser (?) BitTorrent program and you’re good to go… pop the disk image on your favorite cloud/vps host and click start.

There are two accounts created on install (you can change both passwords):

(user:password)
root:#iran
iran:election

Could we make it any easier to help? Please tweet your proxies via *DM* @austinheap or e-mail them to [email protected].

THANK YOU XXXXXX (I don’t know if I can post your name yet, please e-mail me!)

Related posts:

  1. How to setup a proxy for Iran citizens
  2. How to setup a proxy for Iran citizens (for Windows!)
  3. How to setup a proxy for Iran citizens (for Mac!)
  4. Working Iran Proxy List
  5. Best Proxy Practices (BPP!) and an update
Tags Posted under Internets, Iran, Politics by
  • _think

    Thanks a lot for posting! I’m gonna install it … for freedom in Iran!

  • Pingback: PDX Outsider » How to lend support to the Iranian protesters.

  • Philip Schlesinger

    Hi Austin,

    Wow, you now have VMDK’s. Excellent. You can probably update the instructions to include this link:

    http://www.virtualbox.org/

    That is an open-source virtual machine server.

    Here’s the rub: what are the port forwarding instructions? Do I forward port 3128 from my home firewall to the proxy server IP?

    Also, does the squid on this VMDK make sure that all requests that come in go straight out to the internet (as opposed to being used to hack my home network)? In other words, is the squid on the VMDK configured to refuse any requests to proxy to non-public IP ranges (see chart http://en.wikipedia.org/wiki/Private_network)?

  • http://www.eTGVirtual.com/ Ted Thomas

    Is this VM on the VMware Virtual Appliance site yet? http://www.vmware.com/appliances/
    If so, please link; if not, I can upload it if appropriate. This will make it much harder to DDOS, and save you bandwidth…

    Regards,
    Ted T.

  • http://www.eTGVirtual.com/ Ted Thomas

    P.S. Please post hash keys so we can make sure the VM we get isn’t damaged by possible future DDOS attempts or site hacks.

    Thanks!

  • Pingback: Twitter Comes Into Its Own « Mercury Rising 鳯女

  • Faryad

    I’m gonna install it as well as soon as I’m done studying for midterms!

  • http://www.eTGVirtual.com/ Ted Thomas

    Is this VM on http://www.vmware.com/appliances/ yet? If so, please post link; if not, I can upload if you want. This could save you bandwidth and help avoid DDOS attacks on your site. Also, please post file hashes for accuracy. This is what I have:

    MD5: 2B1E2E39F140E873FE76622CCD0AE65C
    SHA1: 0BB772C0704FA321451185E3768962E8D9C27367

    Are these correct?

    (This is a repost; I think my first ones were lost; if not, please delete them.)

    Thanks for your work!
    Ted T.

  • http://www.twitter.com/mazuhl Mazuhl

    If you don’t have a VPS and wanted to drop some change to help the people of Iran for a month, could you recommend a VPS host?

  • thatalias

    Same question as Mazuhl. Any recommended VPS hosts?

  • Gerd

    Is there a guide on how to set this up manually? I have a small VPS that I would like to use for this purpose but I don’t think it would a good idea to install a virtual machine within a VPS.

  • Confused

    So I did this on my desktop. How do I find my proxy info to send? just my ip address? what ports am I using?

  • http://www.youtube.com/profile?user=IranElectionFraud09&view=favorites Schulz

    I’m very touched by your support for the Iraninan People and there Revolution, Against the Brutal Criminal Governmen. Thank You!

  • dg

    I downloaded ProxyBox_v0.3.vmdk and have tried to boot it using both VMWare Fusion and VirtualBox on Mac OS X and am getting stuck with a message that says “kinit: No resume image, doing normal boot…” and the the VM hangs and never boots. Any ideas?

  • Lydia
  • http://twitter.com/whoshang hooshang d

    You sure have done a great job–we linked and informed a lot of folks about your kindly/generous actions/ no good deeds go without some kind of reward–thanks dude..
    for freedom in iran–

  • Sean

    I’ve set up VirtualBox with a Linux/Debian machine and I am using the provided ProxyBox.

    After the machine boots, am I supposed to see something in the window?

  • Penguin

    I’m confused. I spent two days getting squid to work. I’m don’t know much about computers. What’s a VPS? I googled it and I still don’t understand. Does Austin still need squid proxies?

  • oriste

    In the same situation as Penguin. Do you still need my squid running?

  • Casey

    What ports have to be open? Just outbound ping?

  • Rich

    Anyone have this working? I booted it with Sun VirtualBox and it’s stuck at:
    kinit: trying to resume from /dev/hda5
    kinit: No resume image, doing normal boot…

  • http://www.eTGVirtual.com/ Ted Thomas

    File hashes I have for ProxyBox_v0.3:

    MD5: 5B6AD32270FA4E635E14DD70AA0BF4E1
    SHA1: DC46619AA37EBFE90E7C816053C3D3C17762F4F8

    Please confirm.

    Confused:
    To run a proxy server others can use, you must have a static IP. That is, your external IP address must not change over time. Normally, unless you make arrangements with your ISP, they will change your external address periodically. You can find your current external IP by going to http://www.IPChicken.com/ on the PC you plan to use. Remember that if you run a proxy that the Iranian govt. discovers, you may lose connectivity for a time because of a DDOS attack from them. (I wouldn’t be surprised if they are hiring hacker botnets to do this right now. This is, after all, a war…)

    dg: and Rich:
    This appears to be a problem with the order in which the VM checks partitions at startup. See http://www.thekip.nl/2007/12/18/kinit-no-resume-image-fixed/ for details. You will need to know how to open & use a terminal window to fix this. Perhaps the VM author, James, could post on this one…

    Penguin: and oriste:
    This VM does the same thing as squid (probably uses it, actually); it is just a different way to provide the same relay service.

    HTHs,
    Ted T.

  • Penguin

    Thanks for your response, Ted.

    I don’t have a static IP and I think I don’t know enough about this to really help out. I d/l’d the VMDK thing and neither me nor my computer knows what to do with it. This is maybe a little out of my league.

    But’s it’s awesome to see so that so many people care and want to do pitch in! I think my faith in humanity has been restored.

  • flamsmark

    Can you let us know shat the specs on the .vmdk are? What ports does it run on &c?

  • Hugh

    Ted:
    I don’t have a static address (home DSL), though I do have DynDNS pointing to my box. Is an actual hard ip addr needed, or will my DynDNS url work?

  • bendodge

    Does this VMDK follow the BPP post guidlines, and if not, what do we need to do to change it?

  • sunkid

    I have made some progress using the vmdk file on Centos with vmware server. Initially, before trying to install it as an VM in the server via the remote https interface, I tried to mount the vmdk image locally but was unable to do so. After conversion with

    vmware-vdiskmanager -r ProxyBox_v0.3.vmdk -t 0 Proxy.vmdk

    mounting worked fine using

    vmware-mount Proxy.vmdk 1 /mnt/

    After unmounting (‘vmware-mount -x’), I configured the VM within vmware server to use this virtual disk as a virtual disk for a new Debian 32bit VM. I also added a NAT network interface and a CD/CD-ROM drive using the default settings. However, during boot, the remote console showed that the /dev/hda1 disk could not be found.

    To fix this, I stopped the VM, re-mounted the vmdk and edited /etc/fstab as well as /boot/grub/menu.lst to change all instances of /dev/hda[15] to /dev/sda[15]. After unmounting, the VM booted fine, grabbed an IP address and seems to be running all services (mix, tor, ziproxy, and squid).

    Since my VM host is behind a firewall, I will need to research some additional information to make this one available.

    Thanks for making this available!!!

  • sunkid

    all instructions for the VMDK are here: http://www.exstatic.org/proxybox/

  • fjl

    @sunkid

    Something is wrong, I get the following error no matter where I have the .ovf and .dmvk files.
    http://img30.imageshack.us/img30/3244/errorfyb.png
    Notice how the extra, incorrect / is being added in? I’ve duplicated this error on a Windows XP machine and a Windows 7 machine having the two files together in multiple directories including the root of my hard disk and the error still persists.

  • fjl
  • green

    Hey sunkid, I got your thing setup and running but I having 2 problems

    1) when I run the socat command, it seems to “hang” (as in, I get a bunch of text but then I no longer get a command line). Is this normal?

    2) Although I’ve forwarded all the ports, when I use a web proxy checker it says that the proxy is not working. Any help or further instructions would be appreciated.

    I’m running vista 64, Ive shut down my antivirus software and im on a wired connection.

  • green

    oh and im not using a router or firewall software atm, trying to eliminate all sources of the conflict

  • z26o

    Has anyone got this up and gotten a ddos attack? I want to do it, but just want to know what the ramifications will be. Will I be offline for an extended period of time? Can I expect hacks or virus’s on other systems on my network? Just want to get a feel for what to expect. Anyone have any problems out there?

  • olli

    If one doesn’t have a static IP, use dyndns (http://dyndns.org) or no-ip (http://www.no-ip.com/)

    This way you direct an url to your home ip that gets updated from within your computer.

    Unless they block all the available domain types (a lot at dyndns)

    Check it out!

  • Clueless

    I want to help, but I’m really unsure how to do this. I have an available PC at home with ethernet connection that I don’t use for anything. Is there an idiot’s guide for someone who has no clue about proxies and DNS to help set some up?

  • Hackiran

    Hello, I’ve got the same MD5 and SHA1 sums that Ted Thomas has reported on ProxyBox_v0.3.vmdk:
    $ md5sum ProxyBox_v0.3.vmdk ; sha1sum ProxyBox_v0.3.vmdk
    5b6ad32270fa4e635e14dd70aa0bf4e1 ProxyBox_v0.3.vmdk
    dc46619aa37ebfe90e7c816053c3d3c17762f4f8 ProxyBox_v0.3.vmdk

    However, my installation of VirtualBox (the one that ships with Ubuntu 9.04 – virtualbox-ose-2.1.4-dfsg-1ubuntu3) doesn’t accept this image:

    Could not open the hard disk ‘/home/hackiran/.VirtualBox/HardDisks/ProxyBox_v0.3.vmdk’.
    VMDK: incorrect version in sparse extent header in ‘/home/hackiran/.VirtualBox/HardDisks/ProxyBox_v0.3.vmdk’, not a VMDK 1.0 conforming file (VERR_VD_VMDK_UNSUPPORTED_VERSION).
    VD: error opening image file ‘/home/hackiran/.VirtualBox/HardDisks/ProxyBox_v0.3.vmdk’ (VERR_VD_VMDK_UNSUPPORTED_VERSION).

    Result Code:
    NS_ERROR_FAILURE (0×80004005)
    Component:
    HardDisk2
    Interface:
    IHardDisk2 {ed6e2525-c2fd-42a4-917a-7a9045ac9e15}
    Called function:
    IVirtualBox {339abca2-f47a-4302-87f5-7bc324e6bbde}

    Seems that the header of the image is invalid. Any idea how to fix the image for VirtualBox?

  • sana

    hi.can u send me an antifilter for facebook?!i’m from iran.thanx a lot.

  • http://www.bing.com/ Lacey

    Wanklig in the presence of giants here. Cool thinking all around!

  • http://www.bing.com/ Daysia

    Walking in the prescnee of giants here. Cool thinking all around!