Squid proxy server

Discussion in 'Installation/Configuration' started by scatter, Jan 3, 2010.

  1. scatter

    scatter New Member

    Hi everyone,

    I'm currently attempt to setup a transparent proxy between my linksys router and my wifi access point.

    The hardware setup like the following
    Linksys Router --> Ubuntu PC (2 Network Card) --> switch --> Access Point --> Laptop
    On the Ubuntu PC, eth0 is connected to the router, eth1 is connected to the switch

    I've read on how to setup transparent proxy using squid and seems to done all setting properly. When I was about to test it, it realize that
    1) eth1 doesn't have an IP
    2) Computer connected to access point cannot obtain IP address

    So as of this point, I can not test to see if my transparent proxy is working or not. So here are my questions

    1) How do I make the laptop that's connected to the access point obtaining IP address from router? Do I need to setup DHCP service on Ubuntu PC and give a different IP range?
    2) Do I set a static IP for eth1? If I do, should I setup the static IP in the same range as eth0? (eth0 now is 192.168.1.0/24, should I setup eth1 within 192.168.1.0/24 or some other IP range like 192.168.200.0/24)
    3) On my Ubuntu box there is only Apache Server and Squid2 are installed, am I missing any applications?

    Thank you all in advanced
     
  2. tritsako

    tritsako New Member

    Squid Proxy installation.

    Well Scatter,

    As far as I understand, you have little knowledge of linux systems. For this reason I propose to you the following.

    As the Ubuntu pc will be only for Proxy server ability, I propose to you to install not ubuntu for this reason, put Debian 5 (Lenny) (as a server, not laptop installation) .

    Make it a LAMP server following the below perfect guide:
    http://www.howtoforge.com/ubuntu_debian_lamp_server


    Then install Webmin from : http://www.webmin.com
    following the guide : http://www.webmin.com/tgz.html

    From the webmin remote application, you can install the webproxy very easy and quickly.

    Ending you can define the ip(Static) of your debian on the IE or Firefox.

    You can also install the Squi proxy from command line, but your need some extented expiriance for this experament.

    Kostas.
     

Share This Page