Here is an easy way to make use of IPv4 GRE tunnels in Ubuntu, or any other Debian based distro. You will need to edit /etc/network/interfaces. Here is a template with the information you will need to add: auto tun1 iface tun1 inet static address <tunnel IP> netmask <tunnel subnet mask> pre-up iptunnel add tun1 mode…
Tag: ubuntu
Ubuntu 12.04 Server: Adding Vlan Tagging
Scenario We have a router/firewall with two NICs one used to connect to the Internet (WAN) and the other to connect to the local network (LAN). We would like to beef up the security aspect of our site and introduce a Demilitarized Zone (DMZ). If this should be implemented without the use of vlans we…
Ubuntu 12.04: Adding IP Addresses
Adding additional IP Addresses to Ubuntu 12.04 server x32. nano /etc/network/interfaces Add auto eth0:<PIC AN ID IE eth0:123> iface eth0:<PIC AN ID IE eth0:123> inet static address 192.168.1.52 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 dns-nameserver 8.8.8.8 8.8.4.4 dns-search network.local run Service Networking restart then run ifconfig You Should see eth0 Link encap:Ethernet HWaddr…
Simple PHP and Asterisk dialplan…
In This post I am just going to publish how to make a simple dial plan in asterisk by sending the call to PHP to process. The application is just going to be the standard asterisk Milliwatt application which answers a call and plays a continues tone. In asterisk (On an Ubuntu Server System), /etc/asterisk/extensions.con add [Milliwait] exten =>…
Adding a OpenVPN client on ubuntu 10.04…
First the certificate (key) should be created on the server. cd /etc/openvpn/easy-rsa/ source vars ./pkitool hostname Copy the certificate files to the client * /etc/openvpn/ca.crt * /etc/openvpn/easy-rsa/keys/hostname.crt * /etc/openvpn/easy-rsa/keys/hostname.key Then the client should be setup apt-get install openvpn cd /etc/openvpn cp /usr/share/doc/openvpn/examples/sample-config/client.conf client.conf Edit the client.conf file (edit all that you need to fit your…
Creating an OpenVPN Tunnel…
OpenVPN OpenVPN uses Public Key Infrastructure (PKI) to encrypt VPN traffic between nodes. A simple way of setting up a VPN with OpenVPN is to connect the clients through a bridge interface on the VPN server. This guide will assume that one VPN node, the server in this case, has a bridge interface configured. For…
Ubuntu 12.04 Release Date
With the Ubuntu 12.04 release date just around the corner and the release in final beta we should be expecting a release date any day now, the estimated release date for 12.04 Precise Pangolin is the 26th of April 2012. Until then you might want to download Ubuntu 12.04 using our instructions, just so long…
How To Upgrade to Ubuntu 12.04 for Desktops & Servers running 10.04 or 11.10
This post contains full instructions on how to upgrade to Ubuntu 12.04 from 10.04 or 11.10 for servers and desktops I have included both GUI and command line upgrade instructions for Ubuntu 12.04 updates. If you have any 3rd party propriatory graphics card drivers installed it is recommended you remove them prior to the upgrade…
Recursive Grep Command – Recursively Search Through Directories
How to perform a recursive grep on Linux, allowing you to search through files / sub directories for a specific string. How to grep recursively grep -r SEARCHSTRING /home/* Enter your own search in the SEARCHSTRING above… Say for example I am searching for the string class=”author” located somewhere in /var/www/wp-content/themes/your-theme. I would type the…
Ubuntu Server GUI Install Tutorial
How to install the Ubuntu Server GUI on a server without an X Windows interface Gnome, this tutorial will assume you have a fully up to date version of Ubuntu LTS 10.04 and is a copy and paste tutorial for installing the Gnome Ubuntu Server GUI. Ubuntu Server GUI minimal install The following command will…