Want to set up VPN for downloading torrents at home

Discussion in 'macOS' started by thadoggfather, Feb 26, 2008.

  1. thadoggfather Suspended

    thadoggfather

    Joined:
    Oct 1, 2007
    #1
    At school, we can't use bit torrent at all. So I want to set up VPN on my dell winxp box at home and download torrents from there and then just upload them to my Macbook pro (using leopard at school). How do I go about doing this?
     
  2. kuebby macrumors 68000

    kuebby

    Joined:
    Jan 18, 2007
    Location:
    SFV
    #2
    What do you mean? How is it blocked?
     
  3. thadoggfather thread starter Suspended

    thadoggfather

    Joined:
    Oct 1, 2007
    #3
    All ports are blocked, and .torrent extensions are banned. Assuming I could even find a workaround, my U would be able to pick it up easily. I'd rather download at home and send it over from there.
     
  4. parapup macrumors 65816

    parapup

    Joined:
    Oct 31, 2006
    #4
    Check out OpenVPN. It is easy to setup and you should be able to do it on any server and client OSes - Linux, Windows XP and Mac OS X.

    Basically you install the server on your WinXP box - create a static key (follow the documentation) and fill in some configuration details and start the server. Copy over the static key and config details to your MacBook and run the client with those settings from there. Be sure to use SSL port 443 on the Server so that you can even use a HTTP Proxy server on the client and you don't have to be worried about blocked ports.

    You will have to open up the 443 port on your router (if you have one) and make it pass thru to your WinXP box. That's about it.
     
  5. thadoggfather thread starter Suspended

    thadoggfather

    Joined:
    Oct 1, 2007
  6. parapup macrumors 65816

    parapup

    Joined:
    Oct 31, 2006
    #6
    Yep - it sure is easy for the static key configuration. Just follow what I wrote in earlier post and write back if you get stuck.
     
  7. kuebby macrumors 68000

    kuebby

    Joined:
    Jan 18, 2007
    Location:
    SFV
    #7
    If you don't mind me asking, what school is it that's so serious about blocking torrents?
     
  8. thadoggfather thread starter Suspended

    thadoggfather

    Joined:
    Oct 1, 2007
    #8
    ive installed TunnelBlick on Leopard, and OpenVPN on XP SP2. Now I'm lost...
     
  9. parapup macrumors 65816

    parapup

    Joined:
    Oct 31, 2006
    #9
    Rest is easy -

    Server Setup on XP -

    1) Create a static key.
    Locate the OpenVPN.exe in your XP Setup - C:\Program Files\OpenVPN\bin if you installed at default location.
    Open a command prompt and go to that directory and execute below command -
    Code:
    openvpn --genkey --secret static.key
    
    Copy the generated static.key to C:\Program Files\OpenVPN\config and also over to your Mac using may be a USB drive.

    2) Create Server Configuration file
    Create a new file with Notepad or your favorite editor with name server.ovpn - remember Notepad saves files with .txt unless you choose "All Files" in file type.

    Enter the below contents
    Code:
    dev tun
    ifconfig 10.8.0.1 10.8.0.2
    secret static.key
    comp-lzo
    proto tcp-server
    port 443
    
    Copy the above server.ovpn to C:\Program Files\OpenVPN\config directory on the XP machine.

    4) Generate a Client config
    Create a new file client.ovpn on your mac using Text Edit and enter below contents -

    Code:
    remote	<Public domain name or IP Address of XP Machine>
    dev tun
    ifconfig 10.8.0.2 10.8.0.1
    secret static.key
    #The IP Address and netmask below should match your home network
    route 192.168.1.0 255.255.255.0
    keepalive 10 60
    ping-timer-rem
    persist-tun
    persist-key
    comp-lzo
    proto tcp-client
    port 443
    
    Copy the above file and the static.key to /Library/openvpn/ on the Mac.

    Lastly start the server on the XP using the OpenVPN GUI and start the client on Mac using Tunnelblick.

    Also make sure you allow the port 443 on XP server is reachable from the internet - check the port forwarding setting on your router. And keep the static.key secure - generate and copy new one to both client and server if you lose it.

    More help here
     
  10. thadoggfather thread starter Suspended

    thadoggfather

    Joined:
    Oct 1, 2007
    #10
    it keeps saying connection reset when i try to connect...
     
  11. thadoggfather thread starter Suspended

    thadoggfather

    Joined:
    Oct 1, 2007
    #11
    remote <Public domain name or IP Address of XP Machine> <--- the ip assigned to my computer by the router or the general IP (that I can look up by goign to ipchicken.com)?

    route 192.168.1.0 255.255.255.0 <--- i replace that with the router ip or the ip address assigned to my computer?

    Edit: ok im connected. now how do i control my XP machine from my mac?
     
  12. kolax macrumors G3

    Joined:
    Mar 20, 2007
    #12
    Do you have cash to splash or looking for free ways of doing it (some are less reliable - go to a 3rd party server then back).
     
  13. thadoggfather thread starter Suspended

    thadoggfather

    Joined:
    Oct 1, 2007
    #13
    What do you mean? I just want to be able to control my XP box from school and download torrents and transfer them over to my mbp because my school blocks .torrents and torrent traffic.
     
  14. parapup macrumors 65816

    parapup

    Joined:
    Oct 31, 2006
    #14
    Download VNC Server for free from here - http://www.tightvnc.com/ . Install the server on the XP box, and then install CotVnc on the Mac. You will then be able to connect/control the XP box from the Mac after you are on the VPN.
     
  15. thadoggfather thread starter Suspended

    thadoggfather

    Joined:
    Oct 1, 2007
    #15
    I installed them both how do i configure them?
     
  16. foshizzle macrumors regular

    Joined:
    Oct 17, 2007
    #16
    remote desktop

    remote desktop is all you need. Download the Remote desktop connection for mac from Microsoft's website, get the public IP of your windows machine, then make sure you have remote settings open. From school you can log in, and see your screen just as if you were sitting in front of it. Download things, then email or transfer however you want to do that.
     
  17. parapup macrumors 65816

    parapup

    Joined:
    Oct 31, 2006
    #17
    Not all XP editions have the "server portion" of the Remote Desktop - especially the case with XP Home.
     
  18. parapup macrumors 65816

    parapup

    Joined:
    Oct 31, 2006
    #18
    TightVNC should be there as an icon in your XP system tray after reboot - click it and you will find a checkbox to enable sharing the display, display number (leave it at default :1 or :0) and password. On the Mac side - just start CotVNC and have it connect to xp_home_net_ip:1.
     
  19. sprocketeer, Aug 25, 2011
    Last edited: Aug 25, 2011

    sprocketeer macrumors newbie

    Joined:
    Aug 25, 2011
    #19
    Also, make sure you actually set up your torrent client to ONLY download when it's running on vpn. Otherwise your connection might drop (which happens frequently on some vpn services), the client might reconnect on your insecure connection. If this can happen, you might as well not have bothered with the VPN.

    I've written a post here which explains how you can set this up on a mac.

    Hope it helps anybody who finds his way here.

    edit: If I read the post right, OP is not actually anonymising his torrent download via VPN, so this might not apply. Still, might be interesting for people who find their way here via google.
     

Share This Page