LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Transparent Squid Proxy in Ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/transparent-squid-proxy-in-ubuntu-825533/)

rsasuncion 08-11-2010 07:14 AM

Transparent Squid Proxy in Ubuntu
 
Hi,

I'm mon webmaster/developer and I'm new in Linux. Our office suddenly needs to setup a proxy server. Ubuntu Squid proxy server immediately came as an option for us. The question is: does transparent squid proxy configuration using Ubuntu will have no problem with computers running on Windows OS?

Thanks in advance.. Sorry if this is a very noob question.

pvnilsson 08-11-2010 10:53 AM

No there will be no problems with your Windows clients.

--
Peter Nilsson

rsasuncion 08-19-2010 04:22 AM

Squid Proxy And DHCP Server
 
Thank you Peter.

It seems like I'm having problem with my transparent squid proxy server. I was able to configure my ubuntu server as a DHCP server but was not successful in giving Internet connection to the clients. My squid proxy and DHCP server is in the same machine.

I followed the instructions for my squid config on this article but with no success: http://www.ivankristianto.com/os/ubu...ent-proxy/648/

Below is my interfaces configuration:

auto lo
iface lo inet loopback

auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
dns-nameservers 192.168.0.1
mtu 1492

auto eth2
iface eth2 inet static
address 192.168.0.2
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 192.168.0.1
mtu 1492


My Router IP Address: 192.168.0.1 Subnet Mask: 255.255.255.0

I got my dhcpd configuration in: http://www.ivankristianto.com/os/ubu...on-ubuntu/996/

DHCPD Configuration:

ddns-update-style none;

option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;

default-lease-time 600;
max-lease-time 7200;

log-facility local7;

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.200;
option domain-name-servers 192.168.1.1;
option domain-name "yourdomain.com";
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
default-lease-time 21600;
max-lease-time 43200;

}

Sorry for the long content. Hope this info will help you in helping me in search for solutions.

Thank you.


All times are GMT -5. The time now is 07:55 AM.