Y T Nuke  
Results 1 to 8 of 8
Hey guys! I got a VPS with some IPS which I'd like to password protect ...
  1. #1
    JuicyBlack's Avatar
    JuicyBlack is online now Regular Member
    Join Date
    Nov 2008
    Location
    Dark n Wet Place
    Posts
    345
    Reputation
    24
    Thanks
    176
    Thanked 160 Times in 108 Posts

    Default Need Help turning a VPS into password protected Proxy server...HELP!

    Hey guys!

    I got a VPS with some IPS which I'd like to password protect for private use. So I SSH'd into the vps, and did this:

    sudo apt-get update (PRESS ENTER)
    sudo apt-get install nano (PRESS ENTER)

    Installed nano to edit text files through the terminal then installed squid:

    apt-get install squid

    Everything went smoothly and after that I followed the steps as shown here:

    http://www.dodyweb.com/your-own-high...uid-on-ubuntu/

    The problems I now face are:

    1.
    I don't know how to ACL an IP range, I would use an IP range because I have dynamic IP...and Even if I knew how to establish the range I would feel a lot better If I could somehow password protect the proxies, that way I could go into Proxyfirewall and enter the proxies along with the password and do my thing like that.

    2.
    I followed all the steps as shown here:
    http://www.dodyweb.com/your-own-high...uid-on-ubuntu/

    I also used the IP I currently have assigned (for the ACL settings) but when I tried to enter that proxy into ProxyFirewall to route all the firefox traffic through it, nothing happened, I was still being detected with my regular IP... and then I entered the IP on Firefox's foxyproxy to test one more time but the pages wouldn't load, all I would see is a message saying:

    "SSL something..
    If your browser doesn't redirect you automatically click here"

    And then the browser would redirect me to the site I was trying to reach but again nothing would load on the browser, all I got was a white page.

    SO...

    Anyone knows of a better guide to turn a VPS into a password protected proxy server using squid? or is there any1 out there who could help me set this thing up????
    Last edited by JuicyBlack; 12-04-2009 at 10:55 PM.
    Just Who the Hell - Do you think I AM?

  2. #2
    JuicyBlack's Avatar
    JuicyBlack is online now Regular Member
    Join Date
    Nov 2008
    Location
    Dark n Wet Place
    Posts
    345
    Reputation
    24
    Thanks
    176
    Thanked 160 Times in 108 Posts

    Default Re: Need Help turning a VPS into password protected Proxy server...HELP!

    no one ever done this before? ... guess I gotta try at the ubuntu forums... agrrr....
    Just Who the Hell - Do you think I AM?

  3. #3
    junkfood is offline Registered Member
    Join Date
    Sep 2009
    Posts
    89
    Reputation
    10
    Thanks
    2
    Thanked 81 Times in 17 Posts

    Default Re: Need Help turning a VPS into password protected Proxy server...HELP!

    I'll advice 3proxy best proxy server, simple - and amazing.

    3proxy.ru

  4. #4
    dr4gon's Avatar
    dr4gon is offline Registered Member
    Join Date
    Sep 2009
    Location
    USA (maybe I'll leave one day)
    Posts
    94
    Reputation
    10
    Thanks
    1
    Thanked 4 Times in 4 Posts

    Default Re: Need Help turning a VPS into password protected Proxy server...HELP!

    If you still need help configuring your proxy server, send me a message. I can do this for you...and anyone else who wants their own private proxy server as well.

  5. #5
    l0cke's Avatar
    l0cke is offline Regular Member
    Join Date
    Dec 2008
    Location
    TX, US
    Age
    30
    Posts
    212
    Reputation
    13
    Thanks
    58
    Thanked 67 Times in 31 Posts

    Default Re: Need Help turning a VPS into password protected Proxy server...HELP!

    yum install squid

    vi /etc/squid/squid.conf to your like

    the end.
    Please don't hesitate to drop me a PM or send a friend request.

  6. #6
    JuicyBlack's Avatar
    JuicyBlack is online now Regular Member
    Join Date
    Nov 2008
    Location
    Dark n Wet Place
    Posts
    345
    Reputation
    24
    Thanks
    176
    Thanked 160 Times in 108 Posts

    Default Re: Need Help turning a VPS into password protected Proxy server...HELP!

    thanks for the input guys I kinda broke my head trying to get this to work and finally did it. The whole problem was that I wasnt' familiar with all the shell commands available but now getting the proxies up and running is easy ... the hard part is the NCSA or ACL implementation.

    The moment I try to add NCSA authentication all hell breaks loose and it shouldn't cause things are pretty much straight forward... this is what I am doing as far as NCSA:

    http://www.beginlinux.com/server_tra...authentication

    ... Now prior to doing that my squid.conf file looks like this (ignore the BB color tags):

    PHP Code:
    [COLOR="Lime"]#Replace with VPS ips[/COLOR]
    acl ip1 myip 66.66.666.01
    acl ip2 myip 66.66.666.02
    tcp_outgoing_address 66.66.666.01 ip1
    tcp_outgoing_address 66.66.666.02 ip2
    [COLOR="Lime"]#If using this ACL thingy don't use NCSA and visceversa[/COLOR]
    acl ipku src 67.02.02.01/255.255.255.255
    http_access allow ipku
    [COLOR="Lime"]
    #Making highly annon[/COLOR]
    forwarded_for off
    header_access Allow allow all
    header_access Authorization allow all
    header_access Cache
    -Control allow all
    header_access Content
    -Encoding allow all
    header_access Content
    -Length allow all
    header_access Content
    -Type allow all
    header_access Date allow all
    header_access Expires allow all
    header_access Host allow all
    header_access 
    If-Modified-Since allow all
    header_access Last
    -Modified allow all
    header_access Location allow all
    header_access Pragma allow all
    header_access Accept allow all
    header_access Accept
    -Encoding allow all
    header_access Accept
    -Language allow all
    header_access Content
    -Language allow all
    header_access Mime
    -Version allow all
    header_access Cookie allow all
    header_access Set
    -Cookie allow all
    header_access Retry
    -After allow all
    header_access Title allow all
    header_access Connection allow all
    header_access Proxy
    -Connection allow all
    header_access All deny all 
    Just Who the Hell - Do you think I AM?

  7. #7
    neta1o's Avatar
    neta1o is offline Regular Member
    Join Date
    Sep 2008
    Posts
    397
    Reputation
    41
    Thanks
    88
    Thanked 276 Times in 70 Posts

    Default Re: Need Help turning a VPS into password protected Proxy server...HELP!

    If you get ur sever reset back to defaults then PM me I'll set it up for you, it's CentOS right?
    Follow me on twitter @neta1o

  8. #8
    JuicyBlack's Avatar
    JuicyBlack is online now Regular Member
    Join Date
    Nov 2008
    Location
    Dark n Wet Place
    Posts
    345
    Reputation
    24
    Thanks
    176
    Thanked 160 Times in 108 Posts

    Default Re: Need Help turning a VPS into password protected Proxy server...HELP!

    Its ubuntu ... but CentOS terminal commands are kinda similar right? Anyhow I need some advice as to how to implement NCSA user authentication cause if I use an ACL I will have to specify my IP and since my IP is dynamic I'll have to change that dam ACL every time I want to access the proxies on that VPS...

    I've also read about PAM user authentication... dunno if that one is better or easier to set up... any ideas?
    Just Who the Hell - Do you think I AM?

Dot Gov Backlinks Sale


Smarter Submit

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  SEnukeX SEO Software
Proudly Powered by Hostwinds.com Web Hosting Click Here For Exclusive BHW Discounts!

Cheap Web Hosting


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75