Archive for the ‘Squid’ Category

Install Squid 3 Proxy Server on Debian Lenny

By Automater on May 19th, 2010
1
#apt-get install squid3

if no error when instalation, continued with make squid configuration. the name of file configuration is squid.conf

back-up your old squid.conf

1
2
3
4
5
#cd /etc/squid3
#mv  squid.conf squid.conf.old
#nano squid.conf

Enter your configuration directives

1
2
3
4
5
#squid3 -k parse
#squid3 -z
#/etc/init.d/squid3  restart

then look the view log squid with tail command

1
#tail  -f /var/log/squid3/access.log

if success will show/log your client access

Posted in

Your own high anonymous private proxy with squid on ubuntu

By Automater on April 24th, 2010

If you are like me, then you usually create tons of web profiles to submit articles, links, and socialbookmarking. Then you will need multiple IP address to camouflage yourself.

Most of us will search for public proxy list. However they are not good at all. Very slow, or likely down all of time. This is wasting time. What you need is an exclusive proxy address JUST for you. If you are shop around, their pricing is so expensive. Check this out: http://www.yourprivateproxy.com/buy-private-proxiess and http://www.seo-proxies.com/?tab=licenses

I wish I could buy them, but they have unbelievable pricing because I know the cost of single IP address could be less than $.5 each.

So I decide to make my own high anonymous private proxy. I already rent a linux vps with 2 IPs, good for start. On this vps, I installed ubuntu then squid.

apt-get install squid

Then lets change the configuration.

nano /etc/squid/squid.conf

Add the following code, please adjust with your own server ip address and your isp ip address:

#lets make each of our ip available for http proxy

acl ip1 myip 64.92.125.13

acl ip2 myip 64.92.125.14

tcp_outgoing_address 64.92.125.13 ip1

tcp_outgoing_address 64.92.125.14 ip2

#make it high anonymous

forwarded_for off

#make it secure just for your own use

acl ipku src 125.164.201.211/255.255.255.255

http_access allow ipku

Oke, it’s done. Restart squid.

/etc/init.d/squid restart

Now try with your browser, set proxy to:

64.92.125.13:3128

Posted in

Configuring Squid using Webmin (for sanity)

By Automater on April 23rd, 2010

(This tutorial assumes you have successfully installed both Webmin and Squid on your server)

Once you have logged in, on the left you will see “Servers.” Click on that and then click on “Squid Proxy Server.” You may need to fill out some information such as the correct paths for your Squid install. Once you have done that, you will be able to configure Squid through Webmin.

Click on “Ports and Networking” and note what the port is that Squid will be using (default: 3128). This is the port that you will need to enter on your browser in order to use Squid. Then return to the Squid Module Index and click on the “Access Control” button.

At the bottom there is a button called “Create new ACL.” Before you click on that, select “Client Address” from the drop down box next to the button. Now click on the button. On this page, you are going to to fill in the following information:

- ACL Name: home_network (you can name this whatever you want. no spaces)
- From IP: the first IP allowed to use Squid. For example, you can type in 192.168.1.0 and that will allow all IP’s that start with 192.168.1.
- To IP: Enter the last IP allowed, or you can again use 192.168.1.0
- Netmask: Enter your subnet mask (255.255.255.0)

Click Save. This will return you to the Access Control screen. Click on “Proxy restrictions” at the top. Now click Add proxy restriction. Click the allow button next to Action, and highlight “home_network,” or whatever you named your ACL above. Click Save.

You will now see your new entry at the bottom of the list. On the right hand side click the up arrow to move your new ACL to where it is above the line that the action is “Deny” and the ACLs is all. (Should be one move) At the very top of the screen click on “Apply Changes.” Then return to the main Squid Proxy Server Page. Click on Stop Squid, allow it to stop, and then click on Start Squid.

You have now completed the setup for Squid on your server. We now need to allow the port you assigned to Squid to pass your firewall. If you are using iptables, add the following line to your iptables:

-A INPUT -p tcp –dport 3128 -j ACCEPT
Posted in