2014/01/08

Linux Mint - Install PPTP VPN Server

1. Install PPTP VPN Server.
apt-get install pptpd

2. Edit pptpd.conf file to add your VPN server ip settings.
gedit /etc/pptpd.conf
--------------------------------------------
localip 192.168.60.10
remoteip 192.168.60.20-30
--------------------------------------------

3. Edit pptpd-options file to add dns server and encryption.
gedit /etc/ppp/pptpd-options
--------------------------------------------
ms-dns 8.8.8.8
ms-dns 4.4.4.4

#require-mschap-v2
+chap
--------------------------------------------

2014/01/03

Ubuntu - Install and Set DHCP Server

1. Open Terminal
2. sudo su then enter your root password.
3. apt-get install isc-dhcp-server
4. gedit /etc/dhcp/dhcpd.conf

subnet 192.168.60.1 netmask 255.255.255.0 {
  range 192.168.60.100 192.168.60.200;
  option routers 192.168.60.1;
  option broadcast-address 192.168.60.255;
  default-lease-time 600;
  max-lease-time 7200;
}