Portal Home > Knowledgebase > Articles Database > Setting up a proxy server?


Setting up a proxy server?




Posted by acctman, 11-05-2011, 03:53 AM
Does anyone have a good walk through on how to setup a proxy server. Just something basic I have a extra IP that i'd like to use for personal/private usage

Posted by flvps, 11-05-2011, 05:50 AM
If it's a Linux box ssh -ND 1234 user@ip Setup your web browser to SOCKS proxy and localhost:1234

Posted by sHuKKo, 11-05-2011, 08:44 AM
tested on ubuntu 10.x squid 3 with web based auth quick way

Posted by steven_elvisda, 11-05-2011, 09:02 AM
nice setting up sHukko. can you tell me please if I have two IP address in my VPS and I want to use both of it. how can I? thanks for your guideline.

Posted by Afterburst-Jack, 11-05-2011, 09:04 AM
Tie the extra ip into a subinterface. http://www.vincentverhagen.nl/2007/1...el-5-centos-5/

Posted by sHuKKo, 11-05-2011, 09:37 AM
Hello try this in my squid.conf for to use different ip's attached to server:

Posted by acctman, 11-05-2011, 11:47 AM
since I want to use a different IP other than my server IP I would use the config you posted for @steven_elvisda correct? my serverIP is 127.ServerIP my Not_in_use_IP is 128.NotUsedIP <- i want to use this IP as Proxy and can I set which IPs are allowed to used the proxy? example I only want my HomeIP, and ServerIPs (11 of them) to have access to use the proxy.

Posted by sHuKKo, 11-05-2011, 04:11 PM
this setup will want authentication after you add this proxy to your internet browser when you first try to go somewhere over this proxy. such as you are trying to enter a password protected web page. Only this time, squid will honor your access credentials for 2 hours to surf anywhere you want. So anybody with the correct user and password which you created during setup can use this proxy server. There are no other ip based access controls other than that. and about your server ips: yes you can use any ips attached to your server. just change it with the 12.34.56.78 in my squid.conf file.

Posted by acctman, 11-06-2011, 03:17 AM
i keep getting this error

Posted by net, 11-06-2011, 03:26 AM
Moved > Hosting Security and Technology.

Posted by acctman, 11-07-2011, 12:27 AM
how do I go about setting a password?

Posted by sHuKKo, 11-07-2011, 05:21 PM
are you sure you are following my tutorial? 4- touch /etc/squid3/squid_passwd 5- htpasswd /etc/squid3/squid_passwd yourproxyusername and enter your password 6- service squid3 restart All Done!

Posted by steven_elvisda, 11-07-2011, 10:57 PM
thanks sHuKKo you are really professional on proxy with squid as I had knew.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Gazzin troubles! (Views: 704)


Language: