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

 PC/Laptop  LAN

OS MS Windows DHCP

OS Linux
OS Mac
Klik Kanan pada Koneksi Terpilih
Klik pada Properties
PC/Laptop OS Ubuntu Linux
PC/Laptop OS Mac

subnet netmask

{ range;
option domain-name-servers;
option domain-name “nawala.org";
option routers;
option broadcast-address;
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
# none

#setting untuk DNS Nawala

Modem ADSL (Aztech)
Terima Kasih