Вы находитесь на странице: 1из 22

 PC/Laptop  LAN

OS MS Windows DHCP


OS Linux
Proxy
OS Mac
Klik Kanan pada Koneksi Terpilih
Klik pada Properties
PC/Laptop OS Ubuntu Linux
PC/Laptop OS Mac
LAN - DHCP

subnet 10.5.5.0 netmask 255.255.255.224


{ range 10.5.5.26 10.5.5.30;
option domain-name-servers 180.131.144.144;
option domain-name “nawala.org";
option routers 10.5.5.1;
option broadcast-address 10.5.5.31;
default-lease-time 600; max-lease-time 7200; }
LAN – Squid Proxy
(Linux Transparent Proxy)

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128

Setting untuk transparant proxy


Setting pada squid.conf
# TAG: dns_nameservers
# Use this if you want to specify a list of DNS name servers
# (IP addresses) to use instead of those given in your
# /etc/resolv.conf file.
# On Windows platforms, if no value is specified here or in
# the /etc/resolv.conf file, the list of DNS name servers are
# taken from the Windows registry, both static and dynamic DHCP
# configurations are supported.
#
# Example: dns_nameservers 10.0.0.1 192.172.0.4
#
#Default:
# none

#setting untuk DNS Nawala


dns_nameservers 180.131.144.144 180.131.145.145
Modem ADSL (Aztech)
Terima Kasih
http://nawala.org