I was working on implementing an OpenVPN server. I looked for the root password to access some of the features and couldn’t find it readily available. Once I found it I thought I should post it on the Web.
Username: root
Password: openvpnas
A couple of reason why I chose the OpenVPN is because it works with just about all operating system including Windows, Mac and Linux. Also from what I was reading it is very secure. The price is very good as well and administrating the server is pretty easy. I recommend people try it out for themselves.
http://www.openvpn.net
Signup for a free account and get 2 access codes for testing free.
To install DHCP server from scratch
apt-get install dhcp3-server |
When it installs you will see that it had a problem. Don’t worry about this failure, we will fix it. I recommend before we make any changes that we do a backup of the config file.
cd /etc/dhcp3
mv dhcpd.conf dhcpd.conf.bak
nano dhcpd.conf |
Here is some sample code for the DHCP configuration
# Sample /etc/dhcpd.conf
# (add your comments here)
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.1;
option domain-name "gressick.local";
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
} |
For more information on this read from Ubuntu link Ubuntu DHCP3
if you want to install and LDAP version
apt-get install dhcp3-server-ldap |
If you want to install the VERY light version of DHCP
I use Ubuntu desktop but I find that when it comes to virtualization I prefer to use Ubuntu Server more because of the small foot print and to make things much leaner.
Since the Desktop version is the only one that will auto mount the tools in ESX/ESXi implementations you need to get a copy of the tar.gz file from one of the Desktop versions and then SCP it over to the server version unpack it and then run the installer.
You need some prerequisite tools for it to install.
Then you can simple run the installer from the TAR.GZ file. I ran into some compile issues but in the end it all worked. If I find some more notes then I will post them here, keep coming back.