Unified Lanshop Owners Portal

Banner
Welcome, Guest
Username Password: Remember me

Setting up a proxy server with PICTURES (Revised)
(1 viewing) (1) Guest

TOPIC: Setting up a proxy server with PICTURES (Revised)

Setting up a proxy server with PICTURES (Revised) 3 years, 11 months ago #77969

Revised please goto this link for a more step by step tutorial with pictures.

www.ulop.net/component/option,com_kunena...mit,6/limitstart,18/

Please visit also this thread
www.ulop.net/component/option,com_kunena...ew/id,78436/catid,8/

Post edited by: Plee, at: 2008/03/12 09:34<br><br>Post edited by: Plee, at: 2008/03/12 09:36
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
  • Plee
  • OFFLINE
  • Expert Boarder
  • Posts: 842

Re:Setting up a proxy server (Windows Version) 3 years, 11 months ago #78005

I have a desktop and a portable at home, using a Linksys WRT54GC wireless router. Desktop connected to the router via UTP. Laptop uses wireless. SmartBro internet connected to the WAN port of the router.

Mas madalas ko gamitin yung desktop kaysa sa laptop (kasi sa biyenan ko yung laptop.

Wala akong dedicated server. Pwede ko pa ba gamitin ang squid?
  • dodimar
  • OFFLINE
  • Junior Boarder
  • Posts: 153

Re:Setting up a proxy server (Windows Version) 3 years, 11 months ago #78020

how about ISA Server on atleast win2k advance server?thats still windows and still has a built in cache manager.

Re:Setting up a proxy server (Windows Version) 3 years, 11 months ago #78033

dodimar wrote:
I have a desktop and a portable at home, using a Linksys WRT54GC wireless router. Desktop connected to the router via UTP. Laptop uses wireless. SmartBro internet connected to the WAN port of the router.

Mas madalas ko gamitin yung desktop kaysa sa laptop (kasi sa biyenan ko yung laptop.

Wala akong dedicated server. Pwede ko pa ba gamitin ang squid?


Pedeng pede sir. But take it to consideration what is the purpose of having a proxy server if you are going to use it with 2 computers? Squid was design to handle large networks. You will experience it if you implement it in a network.
  • Plee
  • OFFLINE
  • Expert Boarder
  • Posts: 842

Re:Setting up a proxy server (Windows Version) 3 years, 11 months ago #78035

Mr. Lex Luthor wrote:
how about ISA Server on atleast win2k advance server?thats still windows and still has a built in cache manager.


As I have said in this tutorial, there are alot of proxy servers out there. But one of my favorite is squid. I have tested it so many times and to top it all, most ISP use it for their own. So I would preferably rely on a tested system.
  • Plee
  • OFFLINE
  • Expert Boarder
  • Posts: 842

Re:Setting up a proxy server (Windows Version) 3 years, 11 months ago #78073

@Plee

kung matapos ko na po mainstall ung squid..panu ko po malalaman na gumagana na sya?may icoconfigure pa ba ako sa mga browser ng clients?
may ilalagay ba ako dun sa proxy settings nya?panu ko malalaman kung ano ung ginagamit na proxy ng squid,anong address nya ta anong port gagamitin ko para ilagay ko dun sa browser ng kada clients?

panu kung ung server ko gawin kong proxy server..panu kong magshutdown or ma off ung server..di sila makakaaccess sa net?tama po ba?

Edit the squid.conf and change if needed the c:/squid path (use path with '/' char, NOT '')

Manually create ALL the directories specified in squid.conf, except the contents of the cache directory


ano pong ibig sabihin nu d2?need ko pa ichange lahat ung directories sa nakaspecified dun sa squid.conf?di ba marami un..ano ano ba dun ung eedit ko..need ba lahat edit un?

ichange ung path ng squid.conf?di ba sabi mo extract mo sa kahit anong path..or ichange ko sa loob ng squid.conf ang path ng folder na inextract ko..

cencia na..gs2 ko ito itry kaso medyo complicated..kaya marami ako tanong.

tnx!!<br><br>Post edited by: incubus14, at: 2008/03/08 05:52
  • incubus14
  • OFFLINE
  • Platinum Boarder
  • Posts: 4455

Re:Setting up a proxy server (Windows Version) 3 years, 11 months ago #78105

incubus14 wrote:
@Plee

kung matapos ko na po mainstall ung squid..panu ko po malalaman na gumagana na sya?may icoconfigure pa ba ako sa mga browser ng clients?
may ilalagay ba ako dun sa proxy settings nya?panu ko malalaman kung ano ung ginagamit na proxy ng squid,anong address nya ta anong port gagamitin ko para ilagay ko dun sa browser ng kada clients?

ANSWER:
Tapos mo install ang squid make it sure its running. Goto control panel/administrative tools /services. Click mo ung services then look for squid. Check if its started if not start it.
When done goto your clients browser LAN settings. You need to input the ip address and port of your proxy server. Click ok. Start testing it by browsing some webpages.


panu kung ung server ko gawin kong proxy server..panu kong magshutdown or ma off ung server..di sila makakaaccess sa net?tama po ba?

ANSWER:
Yes, this is right. If something went wrong with your proxy server just revert back your browser LAN settings to no proxy.

Edit the squid.conf and change if needed the c:/squid path (use path with '/' char, NOT '')

Manually create ALL the directories specified in squid.conf, except the contents of the cache directory


ano pong ibig sabihin nu d2?need ko pa ichange lahat ung directories sa nakaspecified dun sa squid.conf?di ba marami un..ano ano ba dun ung eedit ko..need ba lahat edit un?

ichange ung path ng squid.conf?di ba sabi mo extract mo sa kahit anong path..or ichange ko sa loob ng squid.conf ang path ng folder na inextract ko..

ANSWER:
No! you only need to create the cache folder as specified in your squid.conf If you dont need to review the logs, you can omit this folder. Just make sure that the folders you created has the same directory path as you specified in your squid.conf.

GOOD LUCK.
  • Plee
  • OFFLINE
  • Expert Boarder
  • Posts: 842

Re:Setting up a proxy server (Windows Version) 3 years, 11 months ago #78131

Yes, this is right. If something went wrong with your proxy server just revert back your browser LAN settings to no proxy.

what if you have a large network with 100 to 200 units who use 1 squid proxy?do you have to edit back the ip line on the browser of each and every pc?

how about the usage of script configuration with the use of proxy.pac or WPAD.DAT file? this thread explains how:
automatic proxy configuration

As I have said in this tutorial, there are alot of proxy servers out there. But one of my favorite is squid. I have tested it so many times and to top it all, most ISP use it for their own. So I would preferably rely on a tested system.

hehe,i much expect you to reply that squid is free and ISA(Microsoft) is the most expensive firewall,but maybe you just tested squid alone.as I do tested both,they have same function thou squid is much more reliable and virus free caching,on my opinion: squid should be always use with all POSIX platform and not recommended for windows,i have no against the installation of squid on any microsoft platform,but for secure and safe network,i go for posix platform than to rely on microsoft's windows.
anyway,i also like to contribute some squid configuration:

to block access to specific websites,find the file called ACL on your proxy folder (i dont know if windows squid has that) and edit this just before the line:
http_access allow localnet


insert the following lines:
acl blocked_sites url_regex www.badsite1.com
acl blocked_sites url_regex www.badsite2.com
acl blocked_sites url_regex www.badsite3.com
http_access deny blocked_sites

execute the restartsquid commands, on windows platform this is more likely stopping or restarting squid under Services.

more squid config next time...

Re:Setting up a proxy server (Windows Version) 3 years, 11 months ago #78182

My samples are for small Inet cafe setup. If you have a very large enterprise network, naturally I would recommend to use an automatic proxy script and to run squid on a Linux platform.

My configuration here provides squid as a windows service because I would like to maximize the use of my windows timer server. Most of us, icafe owners run our programs under windows. Might us well maximize its use.

In my place of work I use squid, clamav, dansguardian to protect my network. All of it run under Linux. All 500 pc connects to it. Its stable and reliable 100% of the time.
  • Plee
  • OFFLINE
  • Expert Boarder
  • Posts: 842

Re:Setting up a proxy server (Windows Version) 3 years, 11 months ago #78187

Mr. Lex Luthor wrote:
Yes, this is right. If something went wrong with your proxy server just revert back your browser LAN settings to no proxy.

what if you have a large network with 100 to 200 units who use 1 squid proxy?do you have to edit back the ip line on the browser of each and every pc?

how about the usage of script configuration with the use of proxy.pac or WPAD.DAT file? this thread explains how:
automatic proxy configuration


Sir, script configuration is another way how to configure your web browser in communicating with a proxy server. The question from what I understand is, what if something went wrong with your proxy server and not if you have 100 or more units that connects to 1 squid proxy. Naturally, even if you have an automatic script configuration, it wont do the magic of connecting you to the internet if your browsers are configured to use a proxy. The best solution is if you have large network is to use a redundant proxy server that help each other in caching webpages and takes over the other if one fails. That would solve your problem in automatically configuring a large number of pc. Hope this helps you.

Here is a more detailed explanation. wiki.squid-cache.org/SquidFaq/Configurin...br><br>Post edited by: Plee, at: 2008/03/09 13:54
  • Plee
  • OFFLINE
  • Expert Boarder
  • Posts: 842
Time to create page: 0.49 seconds

Sponsors


Get Your 10% Discount
Sign up for our exclusive monthly offers and get an instant 10% discount! REGISTER for this promo.

Printer Repairs Shop
Cubao Area and Sta Mesa. Short Lead Time. Guaranteed Work.

Wholesale Ink Supplies
Added Income. Best in market price. Continuous Ink System, Ink Refills, Photopapers.