#1  
Old 29th January 2010, 07:37
sajidmc sajidmc is offline
Junior Member
 
Join Date: Jan 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Configuring SQUID to be CCPROXY

Hello all,

My ISP allows only one computer to have an internet connection. To restrict other computers to be used, the MAC address of my network card has to be registered with them, and I can only use internet from that particular computer. In windows, I can share this internet connection with other computers of my home through a program called CCProxy. In the computer which is connected to the ISP (Hence forth referred to the Host), has two NICs. One has it's MAC address registered to my ISP. Another one is connected to a Wifi router. CCProxy acts as a proxy server, and it allows other computers in my LAN to connect through the Host's internet connection. In the hosts, we put proxy settings in browser's option page. Say host's IP is 192.168.0.2; then the proxy settings would be the IP of the host, and the ports for HTTP proxy 808, HTTPS 808, SOCKS5 1080 and FTP 2121. By this I can visit most websites though LAN. Only problem is I have to keep my host on as long as I want to browse other pages.

Now Problem with CCProxy is that it does not allow more than 3 computers to connect to internet by the trial version. I heard a similar opensource project called SQUID. Problem is squid is possibly not that userfriendly, and designed perhaps for performance. Can any one help me configure any linux based proxy software (SQUID or others) that would have the exact same functionality as CCProxy. i.e.

Host is connected to internet
Host has two NICs
the local NIC connects other PCs via router / Hub / Switch
The host acts as a proxy server to all other machines in LAN with the following proxy settings:

hostip:808 => HTTP
hostip:808 => https
hostip:2121 => ftp
hostip:1080 => SOCKs 5

I want my host to dual boot with linux, and I don't want other computers to loose connectivity while I run linux.

I do not need any caching, as I am planning to use it in an older PC with linux.

Thanks in advance.

Refs:

http://www.squid-cache.org/
http://www.youngzsoft.net/ccproxy/

Last edited by sajidmc; 29th January 2010 at 07:53.
Reply With Quote
Sponsored Links
  #2  
Old 30th January 2010, 09:58
Doug G Doug G is offline
HowtoForge Supporter
 
Join Date: Apr 2008
Posts: 64
Thanks: 0
Thanked 8 Times in 5 Posts
Default

Just out of curiosity, why not use a router with MAC cloning capabilities? I know low-end linksys routers offer this functionality.
__________________
=====
Doug G
=====
Reply With Quote
  #3  
Old 30th January 2010, 17:12
sajidmc sajidmc is offline
Junior Member
 
Join Date: Jan 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

For one thing, I bought a TPLink router that has MAC cloning capability. The router can connect to the remote host fine. But as I try to connect to any website through a computer connected to router via DHCP, I cannot. I can ping the router's external IP and the default gateway of my ISP through the computer. If I keep same MAC address in my PC as before, I can ping the DNS ip address, but cannot access any websites. ping www.google.com resolves to some IP address. If I use different MAC, I cannot ping the DNS server too.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Transparent reverse squid proxy d31373 Installation/Configuration 5 22nd November 2009 20:44
Xen on Ubuntu kmand HOWTO-Related Questions 17 5th March 2009 18:43
Squid cannot start after power failure perfectpol7 Server Operation 1 5th March 2009 16:57
Configuring Squid perfectpol7 Server Operation 12 5th February 2009 15:32
Squid: too slow for some websites cooljai Server Operation 1 19th April 2008 23:17


All times are GMT +2. The time now is 16:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.