Your Ad Here

Monday, September 28, 2009

Grant, squid proxy on a Mac Address

  • Edit the squid configuration file is usually located in "/ etc / squid.conf"
  • Then input the command line below
acl macrule arp "/path/to/mac-list/maclist"
http_access allow macrule #allow/deny
  • Create a file its list of mac address
touch /path/to/mac-list/maclist
  • Enter the list of his mac address
echo "00:C0:26:2A:8E:8D" >> /path/to/mac-list/maclist
  • Reload squid
service squid reload



Thursday, September 10, 2009

Install VPN with PPTPD in cenots / RHEL 5

VPN (Virtual Provate Network) is a computer network that allows someone into a different local network. This time I tried to install vpn using pptp and with os Centos / RHEL 5.
Installation PPTPD

1. Install the Yum Repositories
rpm -Uvh http://pptpclient.sourceforge.net/yum/stable/rhel5/pptp-release-current.noarch.rpm
2. Then proceed with installing ppp & pptpd
yum install ppp
yum --enablerepo=pptp-stable install pptp
3. After installation finnish open /etc/pptpd.conf and change the configuration for localip & remoteip
localip 10.0.0.2
remoteip 10.0.0.200-220
4. After that open the file / etc / ppp / options.pptpd and change sesuia ms-dns dns server / isp you (I filled in with open dns ip)
ms-dns 208.67.222.222
ms-dns 208.67.220.220
5. Then make your VPN use
echo "username pptpd password *">> / etc / ppp / chap-secrets
IP Forwarding & Nat
1. Set IPForward
echo 1 > /proc/sys/net/ipv4/ip_forward
2. Set Nat
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

Start PPTPD
service pptpd start

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

..