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 ZFS Mirrored file system…
Introduction: In this blog post we are going to create a Mirrored file system using ZFS. We are going to use 5 Disks, 4 for data and 1 as a hot spare. The disks will be 200GB with a combined size of 1TB, but acutal usable space will only be 400GB. This file system has…
Simple and useful asterisk commands…
Below i am going to document some simple and very useful commands for asterisk. These commands will help you gather important information that can help you diagnose an asterisk based system. First enter the asterisk console: asterisk -vvvvvvvvvr Global Commands Show the entre asterisk dial plan dialplan show SIP Commands Viewing all sip peer status…
Simple Asterisk Phone System…
Below I detail how to set up a basic asterisk dial plan with 2 extensions, a SIP Trunk provider, and incoming calls ringing both extensions. in /etc/asterisk/sip.conf add: [100] ; extension 100 username=100 secret=100 host=dynamic nat=yes type=friend qualify=yes context=phones [101] ; extension 101 username=101 secret=101 host=dynamic nat=yes type=friend qualify=yes context=phones [SIP-PROVIDER] ; Trunk to/from SIP Provider type=friend…
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 =>…
Using Asterisk as a Proxy/LCR System..
Introduction. This post is going to briefly cover how to use asterisk to be a proxy between an old ISDN System and a SIP Trunk. This example also shows how to modify the dialed number to add in the area code you are dialing, for example if your users are used to just dialling 6…
Solar Power Project: Part 1, The Batteries…
Introduction When choosing to have solar Panels you can either plug the 12 volt ends in to your 12 volt application and have it run while the sun is out or, direct the power in to a battery bank, for using at a later date. There are 3 main ways to connect your batteries Series, Parallel, and…
A WISP, The Basics! (Using Vyatta)….
What Is a WISP? A WISP or Wireless Internet Service Provider, is an Internet Service Provider who uses wireless links to connect your home or office to the internet. Unlike in conventional internet connections using either Cable or ADSL technologies, WISPs attach a antener to the outside of you house pointed at a mast located…
Bandwidth Utilised for VoIP
Calculating the bandwidth used for VoIP may seem like a daunting task, however it is rather simple, especially after you’ve understood some principles. VoIP calls consists of 2 main parts. The call management section is the part which gets the call going. It signals call initiation, the ringing, the disconnect, and other communication performed between…