Skip to main content

Posts

Showing posts from May, 2008
How to Setup a DNS Server in Ubuntu Overview Would you like to setup a DNS Server in Ubuntu? How about setting up a private internal domain name at home? Well, you’ve come to the right place. There are number of tutorials on the internet showing you how to setup a DNS Server with Ubuntu using Bind 9. So, why another how-to document? That’s a good question. I’ve decided I needed to write a simple tutorial that anyone with a little bit of Linux knowledge would be able to follow. In the process, I hope readers are also able to learn how DNS works. Ok, let’s jump right to it! What is DNS? First of all, let’s cover the basics. What is DNS? DNS stands for Domain Name Server. It’s a service that runs on a server that translates humanly recognizable domain names such as www.yahoo.com or www.google.com into its assigned IP addresses. If the DNS server does not recognize the domain name being requested, it will forward the domain name request to another DNS server and so on until the n
VPN in Fedora Core 4 Kernel 2.6.15 has MPPE support, so u dont need dkms and kernel_ppp_mppe anymore if u re using it ********************************* This howto will show how to create a pptp vpn server for windows and linux clients. This vpn will use mppe encryption (40 or 128 bits), so we ll have to add a new kernel module. 1 - Go to www.poptop.org , download page and get these: - dkms-2.0.5-1.noarch.rpm (dinamic kernel module system) - kernel_ppp_mppe-0.0.5-2dkms.noarch.rpm (kernel module for mppe encryption) - ppp-2.4.3-5.src.rpm (source for ppp update, they dont have the binary for fc4 yet) - pptpd-1.2.1-1.i386.rpm 2 - Install - do it in the order above. - rpm -ivh dkms... - rpm -ivh kernel_ppp... - rpm -ivh ppp... (the source !, so lets make the rpm) --- rpmbuild -ba /usr/src/redhat/SPECS/ppp.spec --- rpm -Uvh /usr/src/redhat/RPMS/i386/ppp-2.4.3-5.fc4... (update ppp) - rpm -ivh pptpd-1.2.... 3 - Configuration /etc/pptpd.conf: # this is my example conf, put yours: localip 10.1.
Hosts.allow and Hosts.deny Keamanan dalam jaringan kokmunikasi adalah hal yang sangat penting untuk mencegah hal-hal yang tidak diinginkan berikut tentang hosts.allow dan hosts.deny pada linux. hosts.allow Mengijinkan IP yang terdaftar untuk mengakses service pada server/pc, dan memblokir semua IP selain yang didaftar. hosts.deny Memblokir IP yang terdaftar untuk mengakses service pada server/pc. Contoh : PC A = 192.168.0.1 PC B = 192.168.0.100 PC A terdapat sshd hanya mengijinkan PC B mengaksesnya. Di PC A. Edit /etc/hosts.allow sshd: 192.168.0.100 Edit /etc/hosts.deny sshd: ALL Jika dari PC lain akan meremote PC A maka akan direject. [root@PC-C ~]# ssh root@192.168.0.1 ssh_exchange_identification: Connection closed by remote host