Your Ad Here

Tuesday, October 7, 2008

DHCP Server Configuration

Instal your dhcp server using

#yum -y install dhcp

Configure the dhcp.conf

#vi /etc/dhcpd.conf

ddns-update-style interim;
ignore client-updates;

#Network For DHCP
subnet 192.168.0.0 netmask 255.255.255.0 {

# — Router IP
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;

#Option For Domain
option nis-domain “domain.org”;
option domain-name “domain.org”;
#Option for DNS Server

option domain-name-servers 192.168.1.1;

option time-offset -18000; # Eastern Standard Time

# Range Ip For DHCP
range dynamic-bootp 192.168.0.128 192.168.0.254;
default-lease-time 21600;
max-lease-time 43200;
}
}

Transparent Proxy With Squid

This summary is not available. Please click here to view the post.

Sunday, October 5, 2008

Bloking mac Address with iptables

Example:

Blocking FORWARD mac addres To Web Server
iptables -A FORWARD -p tcp -m mac –mac-source 0C-80-10-34-28-54 –dport 80 -j DROP

Blocking INPUT mac addres To Web Server
iptables -A INPUT -p tcp -m mac –mac-source 0C-80-10-34-28-54 –dport 80 -j DROP

Delay Pools On Squid

acl magic_words1 url_regex -i 192.168
acl magic_words2 url_regex -i ftp .exe .mp3 .vqf .tar.gz .gz .rpm .zip .rar.avi .mpeg .mpe .mpg .qt .ram .rm .iso .raw .wav delay_pools 2
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow magic_words1
delay_class 2 2
delay_parameters 2 5000/5000 1000/120000
delay_access 2 allow magic_words2

Link Exchange

[A.]Areena [B.]Beauty Leg[C.][D.][E.][F.][G.]Gadis Cantik[H.][I.][J.][K.][L.][M.][N.][O.][P.][Q.][R.][S.]SeoID[T.][U.][V.][W.]WiZnU [X.][Y.][Z.]

Linux Manual Book

↑ Grab this Headline Animator

Chat

..