Posts

Showing posts from June, 2012

Transparent Proxy With Squid

I am using 2 lan card  :- eth0 – 192.168.0.100  ( Private Line ) eth1 – 192.168.100.100 ( BSNL  Line ) [root@localhost ~]# yum install squid* [root@localhost ~]# yum install caching-nameserver* [root@localhost ~]# yum install dhcp* [root@localhost ~]# cp /usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample  /etc/dhcpd.conf [root@localhost ~]# vim /etc/dhcpd.conf ===> Change The Lines ddns-update-style interim; ignore client-updates; subnet 192.168.0.0 netmask 255.255.255.0 { # --- default gateway         option routers                  192.168.0.10;         option subnet-mask              255.255.255.0; #       option nis-domain               "domain.org";         option domain-name              "raju.com";         option domain-name-servers      192.168.0.10;         option time-offset              -18000; # Eastern Standard Time #       option ntp-servers              192.168.1.1; #       option netbios-name-servers     192.168.1.1; # --- Selects point-to-point node (d