1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Setting up your own proxies

Discussion in 'Proxies' started by mackay22, Jul 24, 2009.

  1. mackay22

    mackay22 Regular Member

    Joined:
    Jul 22, 2009
    Messages:
    244
    Likes Received:
    93
    Hi BHW

    This is my first post, and its gonna be a mix of a Tip and a Request for advice

    Tip

    If you are starting out or dont need many proxies (say 2-5) then something to consider is rather than renting proxies, rent a cheap VPS and setup your own proxy server.

    You will get your own dedicated IP to use, and if you need to have a server setup for other reasons one day (tunneling etc etc) then you've got one ready.

    If you shop around you can find reasonable providers offering anywhere from 64mb of ram upto 256mb of ram for $5, and you can run a personal proxy with a minimal server setup on 64mb of ram no problem (dont try and run much else on it though lol)

    So for $25 you could have 5 unique IP Proxies + perhaps scrapers or posters running, as an alternative solution to renting 5 dedicated proxies from a proxy provider.


    Dont get me wrong, renting proxies is absolutely necessary sometimes and often even, but this is a viable alternative for some people.

    As I said its just a tip, so I dont mind elaborating on anything if anyone needs.

    Right


    Request

    Whats the best solution for running multiple IP proxy server? Currently I simply run Squid on each single VPS and suits me fine, but shortly would like to vastly increase my IPs and run a dedi for proxies.

    I'm not expertly versed in server admin so I wondered if anyone had experience, or perehaps a more specifically designed solution to what I had planned.

    I had planned to run dedi with Directadmin/HyperVM/Plesk/Whatever and simply setup individual VPS with IP and setup proxy on each one.

    This would work fine but I thought before I go diging around for a few hours perhaps one of you experienced Proxy guys here might already have info on setting something like this up.



    Thanks for reading,

    :D
     
  2. MikeHustle

    MikeHustle Power Member

    Joined:
    Mar 1, 2009
    Messages:
    634
    Likes Received:
    236
    What timing!!! I'm setting up my dedi with 32 proxies tonight... I haven't even planned how I'm going to run it... My only experience is running a proxy on my win23k vps with freeproxy. I'm mostly am going to run squid on the dedi...
     
    • Thanks Thanks x 1
  3. mackay22

    mackay22 Regular Member

    Joined:
    Jul 22, 2009
    Messages:
    244
    Likes Received:
    93
    Nice!

    Now it seems your similar to me, gonna give it a go but not ran that many yet,

    How do you plan on making it easier? And do you have experience setting up Multi IP proxy?

    I am fairly sure I can setup Squid to run multiple IPs from one installation on One OS, so no need for the Virtualization, however I have never done it like that and I have setup VPS nodes so although it sounds longer-winded for me it will probly save time,

    Unless I find out its actually real easy setting up squid/multi - IP

    Anyway I'm not going to be setting mine up for about another week or so, it'd be great to hear how you get on friend ;-)
     
  4. MikeHustle

    MikeHustle Power Member

    Joined:
    Mar 1, 2009
    Messages:
    634
    Likes Received:
    236
    • Thanks Thanks x 1
  5. mackay22

    mackay22 Regular Member

    Joined:
    Jul 22, 2009
    Messages:
    244
    Likes Received:
    93
    cheers m8, good luck
    and let me know how you get on if you dont mind

    ;-)
     
  6. taironbc

    taironbc BANNED BANNED

    Joined:
    Jan 29, 2009
    Messages:
    45
    Likes Received:
    4
    hope it will work
     
  7. MikeHustle

    MikeHustle Power Member

    Joined:
    Mar 1, 2009
    Messages:
    634
    Likes Received:
    236
    Arghhhh I've been lazy/ busy with other stuff. I'm about to install squid right now. I've been looking into squid alternatives, but it seems like squid is all anyone talks about in the linux world.
     
  8. MikeHustle

    MikeHustle Power Member

    Joined:
    Mar 1, 2009
    Messages:
    634
    Likes Received:
    236
    Okayyyy... I've decided againts squid, 3proxy, and ss5. I'm using tinyproxy and I've done my first test, and everything is working well. It's operating very fast, and doesn't appear as a proxy when using whatismyip. My problem now is setting it up with 30 more ips. I might have to do as you said, and create multiple user accounts on my dedi and run it like that. I lazed around all weekend and read everyhting on google about running a proxy on a debian based server, it only took 5mins to install and set my security setting (allows access to my semi-static isp ip).

    I'm gonna go configure it some more, and add more ips.
     
    • Thanks Thanks x 1
  9. zx123

    zx123 Senior Member

    Joined:
    Feb 26, 2009
    Messages:
    1,165
    Likes Received:
    876
    Home Page:
    I have some problems installing Squid on my VPS LOL
    help me
     
  10. MikeHustle

    MikeHustle Power Member

    Joined:
    Mar 1, 2009
    Messages:
    634
    Likes Received:
    236
    I abandoned squid!!! But now I'm going back to it because tinyproxy isn't robust enough for what I need to do. I'll let you know how things go. I've been weary of squid because I don't want to misconfigure my proxy server and have it open to the world... Time to configure them ACLs...
     
  11. mackay22

    mackay22 Regular Member

    Joined:
    Jul 22, 2009
    Messages:
    244
    Likes Received:
    93

    Squid is quite simple but it takes some configuration, for example I found easiest way is to hardcode your personal IP into the squid config file, and then change a few other settings in the config file to do with header forwarding.

    Overall it isnt too hard if you elaborate on your problem a bit more I can try and offer some help.

    That being said I like the sound of tinyproxy, and I'm gonna have to check that out now on Mikes recommendation, it may turn out much easier so I would suggest trying that mate aswell.
     
  12. aishahriar

    aishahriar BANNED BANNED

    Joined:
    Jan 7, 2010
    Messages:
    310
    Likes Received:
    336
    @Mike, I don't know which version of tinyproxy you tried but the latest one (1.8.2) that I'm using has a config option "BindSame" which when set to yes will automatically bind to the IP address that requests the url. So for example if the VPS is configured to have 3 IP's 10.0.0.1 to 10.0.0.3, then when I point my browser to 10.0.0.2 tinyproxy will attach all outgoing requests to that IP address. The upshot of this is no need to configure tinyproxy for each IP you add to your server (no need for multiple users), just one configuration file change.

    Also, when you mention tinyproxy isn't robust enough for your needs, can you elaborate on that? As far as I know you can do everything in tinyproxy (except caching) that you can do in squid, and with simpler ACLs too. As you can guess I'm a former squid user who dumped it for tinyproxy, and am very happy with the switch :)