<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SysAdminMan Blog &#187; SysAdminMan &#8211; Asterisk Hosting &#8211; Trixbox, Elastix, FreePBX, A2Billing</title>
	<atom:link href="http://sysadminman.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://sysadminman.net/blog</link>
	<description></description>
	<lastBuildDate>Sat, 21 Jan 2012 11:24:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>PBX in a Flash template updated to v2.0.6.2 Purple</title>
		<link>http://sysadminman.net/blog/2012/pbx-in-a-flash-template-updated-to-v2-0-6-2-purple-3534</link>
		<comments>http://sysadminman.net/blog/2012/pbx-in-a-flash-template-updated-to-v2-0-6-2-purple-3534#comments</comments>
		<pubDate>Sat, 21 Jan 2012 11:24:54 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VPS]]></category>
		<category><![CDATA[pbx in a flash]]></category>
		<category><![CDATA[piaf]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3534</guid>
		<description><![CDATA[The PBX in a Flash (PIAF) template provided when ordering a SysAdminMan VPS has been updated to version 2.0.6.2 Purple. This includes Asterisk 1.8.8.0 and FreePBX 2.8. Please see here for more information on a hosted PBX in a Flash virtual server - http://sysadminman.net/pbx-in-a-flash-hosting.html]]></description>
			<content:encoded><![CDATA[<p>The PBX in a Flash (PIAF) template provided when ordering a SysAdminMan VPS has been updated to version 2.0.6.2 Purple.</p>
<p>This includes Asterisk 1.8.8.0 and FreePBX 2.8.</p>
<p>Please see here for more information on a hosted PBX in a Flash virtual server - <a href="http://sysadminman.net/pbx-in-a-flash-hosting.html">http://sysadminman.net/pbx-in-a-flash-hosting.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/pbx-in-a-flash-template-updated-to-v2-0-6-2-purple-3534/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SysAdminMan Demo DDI number &#8211; 0203 455 6550</title>
		<link>http://sysadminman.net/blog/2012/sysadminman-demo-ddi-number-0203-455-6550-3529</link>
		<comments>http://sysadminman.net/blog/2012/sysadminman-demo-ddi-number-0203-455-6550-3529#comments</comments>
		<pubDate>Sat, 07 Jan 2012 12:43:04 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3529</guid>
		<description><![CDATA[SysAdminMan has launched a new demonstration DDI/DID number. This is designed so that you can hear an example of a VOIP call to a SysAdminMan server. If you dial the above number you will be presented with a menu where you can choose from the following options - Test conference call for up to 10 [...]]]></description>
			<content:encoded><![CDATA[<p>SysAdminMan has launched a new demonstration DDI/DID number.</p>
<p>This is designed so that you can hear an example of a VOIP call to a SysAdminMan server.</p>
<p>If you dial the above number you will be presented with a menu where you can choose from the following options -</p>
<ol>
<li>Test conference call for up to 10 callers</li>
<li>An echo test which will echo back anything you say</li>
<li>Current news read by Cpestral text-to-speech for Asterisk. See here for more into - <a href="http://cepstral.com/">http://cepstral.com/</a></li>
<li>Music on hold</li>
</ol>
<p>You can also press * to hang-up.</p>
<p>This is also a good example of what can be achieved by created an IVR (auto-attendant) on a SysAdminMan server.</p>
<h3>Give it a go by calling  <span style="color: #ff0000;">0203 455 6550</span>  from inside the UK, or  <span style="color: #ff0000;">44 203 455 6550</span>  from outside the UK.</h3>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/sysadminman-demo-ddi-number-0203-455-6550-3529/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A2Billing video guide Part 4 – Creating a SIP customer</title>
		<link>http://sysadminman.net/blog/2012/a2billing-video-guide-part-4-creating-a-sip-customer-3524</link>
		<comments>http://sysadminman.net/blog/2012/a2billing-video-guide-part-4-creating-a-sip-customer-3524#comments</comments>
		<pubDate>Fri, 06 Jan 2012 23:12:15 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[A2Billing]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3524</guid>
		<description><![CDATA[Part 4 of the quick start video guide for A2Billing shows how to create a SIP enabled customer. This could be used for residential where you are billing a customer connecting their handset directly to your system, or maybe a customer who is connecting another PBX to your system using SIP. Please not that if you are [...]]]></description>
			<content:encoded><![CDATA[<p>Part 4 of the quick start video guide for A2Billing shows how to create a SIP enabled customer. This could be used for residential where you are billing a customer connecting their handset directly to your system, or maybe a customer who is connecting another PBX to your system using SIP.</p>
<p>Please not that if you are enabling SIP calling you should check out this security post and make the relevant change - <a href="http://sysadminman.net/blog/2011/a2billing-blind-transfer-and-fraud-2823">http://sysadminman.net/blog/2011/a2billing-blind-transfer-and-fraud-2823</a></p>
<p>We also have a quick look at some of the agi-conf settings that affect how this call is handled.</p>
<p>The system used was a clean install of a SysAdminMan virtual server. You can find more details about this here - <a title="SysAdminMan virtual server" href="http://sysadminman.net/sysadminman-freepbx-a2billing-hosting.html" target="_blank">http://sysadminman.net/sysadminman-freepbx-a2billing-hosting.html</a></p>
<p>&nbsp;</p>
<div style="margin-left:30px;">
<p><a href="http://www.youtube.com/watch?v=FZEP0WtlLtw&#038;fmt=18">http://www.youtube.com/watch?v=FZEP0WtlLtw</a></p>
</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/a2billing-video-guide-part-4-creating-a-sip-customer-3524/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A2Billing video guide Part 3 – Access DDI, customers, test calls and some agi-conf</title>
		<link>http://sysadminman.net/blog/2012/a2billing-video-guide-part-3-access-ddi-customers-test-calls-and-some-agi-conf-3517</link>
		<comments>http://sysadminman.net/blog/2012/a2billing-video-guide-part-3-access-ddi-customers-test-calls-and-some-agi-conf-3517#comments</comments>
		<pubDate>Fri, 06 Jan 2012 21:08:28 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[A2Billing]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3517</guid>
		<description><![CDATA[This is part 3 of the SysAdminMan video guide to getting started with A2Billing. In the previous videos we set up and trunk and a rate card. In this video we set up an access DDI number for calling card customers, we create a customer, and then place some test calls. We also have a [...]]]></description>
			<content:encoded><![CDATA[<p>This is part 3 of the SysAdminMan video guide to getting started with A2Billing. In the previous videos we set up and trunk and a rate card. In this video we set up an access DDI number for calling card customers, we create a customer, and then place some test calls.</p>
<p>We also have a quick look at some of the agi-conf settings that affect how this call is handled.</p>
<p>The system used was a clean install of a SysAdminMan virtual server. You can find more details about this here - <a title="SysAdminMan virtual server" href="http://sysadminman.net/sysadminman-freepbx-a2billing-hosting.html" target="_blank">http://sysadminman.net/sysadminman-freepbx-a2billing-hosting.html</a></p>
<p>&nbsp;</p>
<div style="margin-left:30px;">
<p><a href="http://www.youtube.com/watch?v=NPgrK8njZdc&#038;fmt=18">http://www.youtube.com/watch?v=NPgrK8njZdc</a></p>
</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/a2billing-video-guide-part-3-access-ddi-customers-test-calls-and-some-agi-conf-3517/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A2Billing video guide Part 2 – Rates, Rate Cards and Call Plans</title>
		<link>http://sysadminman.net/blog/2012/a2billing-video-guide-part-2-rates-rate-cards-and-call-plans-3512</link>
		<comments>http://sysadminman.net/blog/2012/a2billing-video-guide-part-2-rates-rate-cards-and-call-plans-3512#comments</comments>
		<pubDate>Thu, 05 Jan 2012 21:53:28 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[A2Billing]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3512</guid>
		<description><![CDATA[This video guide shows how to set up A2Billing for calling card and SIP use and is split in to several parts. It follows on from a FreePBX setup guide which can be found starting here - http://sysadminman.net/blog/2011/freepbx-video-guide-part-1-creating-an-extension-3395 The system used was a clean install of a SysAdminMan virtual server. You can find more details about [...]]]></description>
			<content:encoded><![CDATA[<p>This video guide shows how to set up A2Billing for calling card and SIP use and is split in to several parts. It follows on from a FreePBX setup guide which can be found starting here - <a href="http://sysadminman.net/blog/2011/freepbx-video-guide-part-1-creating-an-extension-3395">http://sysadminman.net/blog/2011/freepbx-video-guide-part-1-creating-an-extension-3395</a></p>
<p>The system used was a clean install of a SysAdminMan virtual server. You can find more details about this here - <a title="SysAdminMan virtual server" href="http://sysadminman.net/sysadminman-freepbx-a2billing-hosting.html" target="_blank">http://sysadminman.net/sysadminman-freepbx-a2billing-hosting.html</a></p>
<p>The softphone used is called Blink, this works on both Windows and Linux and you can find more details on that here - <a title="Blink softphone" href="http://icanblink.com/" target="_blank">http://icanblink.com/</a></p>
<p>&nbsp;</p>
<div style="margin-left:30px;">
<p><a href="http://www.youtube.com/watch?v=Mx2zIS1fMno&#038;fmt=18">http://www.youtube.com/watch?v=Mx2zIS1fMno</a></p>
</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/a2billing-video-guide-part-2-rates-rate-cards-and-call-plans-3512/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A2Billing video guide Part 1 – Creating a trunk</title>
		<link>http://sysadminman.net/blog/2012/a2billing-video-guide-part-1-creating-a-trunk-3506</link>
		<comments>http://sysadminman.net/blog/2012/a2billing-video-guide-part-1-creating-a-trunk-3506#comments</comments>
		<pubDate>Thu, 05 Jan 2012 18:06:36 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[A2Billing]]></category>
		<category><![CDATA[a2billing]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3506</guid>
		<description><![CDATA[This video guide shows how to set up A2Billing for calling card and SIP use and is split in to several parts. It follows on from a FreePBX setup guide which can be found starting here - http://sysadminman.net/blog/2011/freepbx-video-guide-part-1-creating-an-extension-3395 The system used was a clean install of a SysAdminMan virtual server. You can find more details about [...]]]></description>
			<content:encoded><![CDATA[<p>This video guide shows how to set up A2Billing for calling card and SIP use and is split in to several parts. It follows on from a FreePBX setup guide which can be found starting here - <a href="http://sysadminman.net/blog/2011/freepbx-video-guide-part-1-creating-an-extension-3395">http://sysadminman.net/blog/2011/freepbx-video-guide-part-1-creating-an-extension-3395</a></p>
<p>The system used was a clean install of a SysAdminMan virtual server. You can find more details about this here - <a title="SysAdminMan virtual server" href="http://sysadminman.net/sysadminman-freepbx-a2billing-hosting.html" target="_blank">http://sysadminman.net/sysadminman-freepbx-a2billing-hosting.html</a></p>
<p>The softphone used is called Blink, this works on both Windows and Linux and you can find more details on that here - <a title="Blink softphone" href="http://icanblink.com/" target="_blank">http://icanblink.com/</a></p>
<p>&nbsp;</p>
<div style="margin-left:30px;">
<p><a href="http://www.youtube.com/watch?v=frbj-_g1Kwo&#038;fmt=18">http://www.youtube.com/watch?v=frbj-_g1Kwo</a></p>
</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/a2billing-video-guide-part-1-creating-a-trunk-3506/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPv6 tunnel on OpenWRT using tunnelbroker.net</title>
		<link>http://sysadminman.net/blog/2012/ipv6-tunnel-on-openwrt-using-tunnelbroker-net-3480</link>
		<comments>http://sysadminman.net/blog/2012/ipv6-tunnel-on-openwrt-using-tunnelbroker-net-3480#comments</comments>
		<pubDate>Wed, 04 Jan 2012 19:02:05 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[tunnelbroker]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3480</guid>
		<description><![CDATA[I&#8217;m far from an IPv6 expert so this is more a detail of my experiences, rather than a detailed setup guide. My ISP does not provide native IPv6 yet to their ADSL customers but I wanted to set up IPv6 on my local network, and be able to access the Internet using IPv6. To do [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m far from an IPv6 expert so this is more a detail of my experiences, rather than a detailed setup guide.<a href="http://www.tp-link.com/en/products/details/?model=TL-WR1043ND"><img class="alignright size-full wp-image-3478" title="TP-LINK TL-WR1043ND" src="http://sysadminman.net/blog/wp-content/uploads/2011/12/TL-WR1043ND-031.jpg" alt="TP-LINK TL-WR1043ND" width="250" height="150" /></a></p>
<p>My ISP does not provide native IPv6 yet to their ADSL customers but I wanted to set up IPv6 on my local network, and be able to access the Internet using IPv6. To do this I&#8217;m using a free tunnel from <a title="HE" href="http://tunnelbroker.net" target="_blank">tunnelbroker.net</a>. The way this works is that your IPv6 packets are wrapped up in IPv4 and sent to tunnelbroker. There they are unwrapped and sent on their way, as IPv6 packets. Once set up this is transparent to you and you just treat it as a normal IPv6 network.</p>
<p>When you sign up for a free tunnel with tunnelbroker you will receive several pieces of information that you will need to set up your tunnel.</p>
<p><span id="more-3480"></span></p>
<p>Here are my settings -</p>
<p><strong>Server IPv4 Address - 216.66.84.46</strong>. This is where your router will sent your &#8216;wrapped up&#8217; IPv6 packets for onward delivery.</p>
<p><strong>Client IPv6 Address - 2001:470:1d14:154::2/64. </strong>This is the IPv6 address of the WAN side of your router</p>
<p><strong>Routed /64 - 2001:470:1d15:154::/64.</strong> This is the IPv6 subnet that you will use on your LAN</p>
<p>Once you have these settings you can click on the Example Configurations page in tunnelbroker and, at least for OpenWRT, it tells you what commands to run on your router to install IPv6 and enable it for the tunnelbroker tunnel.</p>
<p>I wanted my router, a TP-LINK TL-WR1043ND, to hand out IPv6 IP addresses to my LAN clients so I also needed to install the following packages -</p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">opkg update<br />
opkg install 6in4<br />
opkg install 6to4<br />
opkg install ip6tables<br />
opkg install kmod-ip6tables<br />
opkg install kmod-ipv6<br />
opkg install luci-proto-6x4<br />
opkg install radvd<br />
opkg install wide-dhcpv6-server</div></div>
<p>Detailed instructions for setting up IPv6 on OpenWRT can be found here - <a href="http://wiki.openwrt.org/doc/howto/ipv6">http://wiki.openwrt.org/doc/howto/ipv6</a></p>
<p>To test the tunnel is working you can ping ipv6.google.com from the router</p>
<p>To test the LAN/DHCP is working you can ping ipv6.google.com from your PC</p>
<p>I struggled a little to get the LAN/DHCP side working. Here are my relevant config files -</p>
<p><strong>/etc/config/dhcp6s</strong></p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">config 'dhcp6s' 'basic'<br />
option 'enabled' '1'<br />
option 'interface' 'lan'<br />
option 'config_file' '/etc/dhcp6s.conf'</div></div>
<p><strong> /etc/dhcp6s.conf</strong></p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">option domain-name-servers 2001:4860:4860::8888;<br />
<br />
interface br-lan {<br />
address-pool pool1 86400;<br />
};<br />
<br />
pool pool1 {<br />
range 2001:470:1d15:154:0:0:0:1001 to 2001:470:1d15:154:0:0:0:2000 ;<br />
};</div></div>
<p><strong>/etc/config/radvd</strong></p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">config interface<br />
option interface 'lan'<br />
option AdvSendAdvert 1<br />
option AdvManagedFlag 1<br />
option AdvOtherConfigFlag 1<br />
list client ''<br />
option ignore 0<br />
<br />
config prefix<br />
option interface 'lan'<br />
list prefix ''<br />
option AdvOnLink 1<br />
option AdvAutonomous 1<br />
option AdvRouterAddr 0<br />
option ignore 0<br />
<br />
config route<br />
option interface 'lan'<br />
list prefix ''<br />
option ignore 0<br />
<br />
config rdnss<br />
option interface 'lan'<br />
list addr ''<br />
option ignore 0<br />
<br />
config dnssl<br />
option interface 'lan'<br />
list suffix ''<br />
option ignore 1</div></div>
<p><strong>/var/etc/radvd.conf</strong></p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">interface br-lan<br />
{<br />
AdvSendAdvert on;<br />
AdvManagedFlag on;<br />
AdvOtherConfigFlag on;<br />
<br />
prefix 2001:470:1d15:154::1/64<br />
{<br />
AdvOnLink on;<br />
AdvAutonomous on;<br />
AdvRouterAddr off;<br />
};<br />
<br />
RDNSS fe80::b248:7aff:fede:267e<br />
{<br />
};<br />
};</div></div>
<p>Once everything is set up and working you should run the IPv6 portscan from the tunnelbroker web site. This will port scan a machine on your local network. This is very important as your machine is now directly connected to the internet, with no NAT happening on the IPv6 connection.</p>
<p>You should run a port scan to ensure that your firewall is blocking inbound connections over IPv6</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2012/ipv6-tunnel-on-openwrt-using-tunnelbroker-net-3480/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TP-LINK TL-WR1043ND OpenVPN performance on OpenWRT</title>
		<link>http://sysadminman.net/blog/2011/tp-link-tl-wr1043nd-openvpn-performance-on-openwrt-3462</link>
		<comments>http://sysadminman.net/blog/2011/tp-link-tl-wr1043nd-openvpn-performance-on-openwrt-3462#comments</comments>
		<pubDate>Fri, 30 Dec 2011 00:58:10 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3462</guid>
		<description><![CDATA[This is a brief follow-up to this post &#8211; sysadminman.net/blog/2011/openvpn-sysadminman-asterisk-tl-wr1043nd-3431 &#8211; which details OpenVPN on a TP-LINK TL-WR1043ND running OpenWRT. I used iperf to max out my ADSL link which will run at 8mb. This showed around 35% CPU usage on the TP-LINK so it looks good, at least for my line speed. Here is [...]]]></description>
			<content:encoded><![CDATA[<p>This is a brief follow-up to this post &#8211; <a href="http://sysadminman.net/blog/2011/openvpn-sysadminman-asterisk-tl-wr1043nd-3431">sysadminman.net/blog/2011/openvpn-sysadminman-asterisk-tl-wr1043nd-3431</a> &#8211; which details OpenVPN on a TP-LINK TL-WR1043ND running OpenWRT.</p>
<p>I used iperf to max out my ADSL link which will run at 8mb. This showed around 35% CPU usage on the TP-LINK so it looks good, at least for my line speed.</p>
<p>Here is the iperf report -</p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">[ 3] local 10.10.10.248 port 56167 connected with 10.20.0.1 port 5001<br />
[ ID] Interval Transfer Bandwidth<br />
[ 3] 0.0-10.1 sec 9.25 MBytes 7.65 Mbits/sec</div></div>
<p>and CPU usage by running &#8216;top&#8217; on the TP-LINK -</p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">CPU: 17% usr 8% sys 0% nic 63% idle 0% io 0% irq 9% sirq<br />
Load average: 0.00 0.00 0.00 1/35 1194<br />
PID PPID USER STAT VSZ %MEM %CPU COMMAND<br />
1154    1 root S 4516 15% 34% /usr/sbin/openvpn --syslog openvpn(sa<br />
1194 1188 root R 1376  5%  0% top</div></div>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2011/tp-link-tl-wr1043nd-openvpn-performance-on-openwrt-3462/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenVPN with a SysAdminMan Asterisk VPS and TP-LINK TL-WR1043ND</title>
		<link>http://sysadminman.net/blog/2011/openvpn-sysadminman-asterisk-tl-wr1043nd-3431</link>
		<comments>http://sysadminman.net/blog/2011/openvpn-sysadminman-asterisk-tl-wr1043nd-3431#comments</comments>
		<pubDate>Thu, 29 Dec 2011 19:05:49 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[VOIP]]></category>
		<category><![CDATA[VPS]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3431</guid>
		<description><![CDATA[There are several potential benefits to setting up a VPN to your Asterisk server. All traffic is encrypted and you don&#8217;t need to open lots of ports in the firewall. Also there are no issues with SIP and NAT as traffic is routed over the VPN tunnel. This is a pretty advanced setup but here [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sysadminman.net/blog/wp-content/uploads/2011/12/TL-WR1043ND-031.jpg"><img class="alignright size-full wp-image-3478" title="TP-LINK TL-WR1043ND" src="http://sysadminman.net/blog/wp-content/uploads/2011/12/TL-WR1043ND-031.jpg" alt="TP-LINK TL-WR1043ND" width="250" height="150" /></a>There are several potential benefits to setting up a VPN to your Asterisk server. All traffic is encrypted and you don&#8217;t need to open lots of ports in the firewall. Also there are no issues with SIP and NAT as traffic is routed over the VPN tunnel.</p>
<p>This is a pretty advanced setup but here is a walkthrough for setting up a SysAdminMan VPS as an OpenVPN server and then connecting to it with a TP-LINK router running OpenWRT.</p>
<p>Specifically this router is used - <a href="http://www.tp-link.com/en/products/details/?model=TL-WR1043ND">http://www.tp-link.com/en/products/details/?model=TL-WR1043ND</a>. I paid around £40 from Amazon, an absolute bargain for something that will run OpenWRT.</p>
<p><strong><span style="text-decoration: underline;">Setting up the router</span></strong></p>
<p>First you need to flash <a title="OpenWRT" href="https://openwrt.org/" target="_blank">OpenWRT</a> on to the router. This replaces the original firmware. Here are some instructions for this TP-Link router - <a href="http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd?s">http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd?s</a>. I got version 18 of the router and flashed Backfire 10.03.1-rc6 version of OpenWRT.</p>
<p><span id="more-3431"></span></p>
<p>Next the router was connected via the WAN port on the TP-LINK to my home network. The WAN side of your TP-LINK should be given an IP address from your network DHCP server. It will use this to connect to the Internet.</p>
<p>Now connect a PC to a LAN port using a network cable and you should be given an IP address in the range 192.168.1.0/24</p>
<p>Now make the following changes on the router using a web browser. This will install the OpenVPN software and assign a new IP address to the router. If you use a different subnet you will need to change some settings below to match -</p>
<ul>
<li>Assign a password</li>
<li>Change the LAN network address to 10.10.10.1</li>
<li>In OpenWRT go to System / Software and click on Update Lists</li>
<li>Click Available Packages and install OpenVPN</li>
<li>Click System / Administration and enable SSH on the LAN interface</li>
<li>Click System / Startup and Enable and Start OpenVPN</li>
<li>Reboot the router</li>
</ul>
<p><strong><span style="text-decoration: underline;">On the SysAdminMan VPS</span></strong></p>
<p>For this to work you will need a TUN device assigning to your VPS. Please open a support ticket to request this.</p>
<p>First we&#8217;re going to install OpenVPN. This will install from rpmforge, which is set up as standard -</p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">yum install openvpn<br />
cp -r /usr/share/doc/openvpn-2.2.0/easy-rsa/2.0/* /etc/openvpn/<br />
chmod +x /etc/openvpn/*<br />
cd /etc/openvpn</div></div>
<p>Now, if you&#8217;d like you can edit /etc/openvpn/vars and change the settings at the bottom to some sensible defaults. This is not required, but will make creating the certificates easier.</p>
<p>Next we&#8217;re going to set up some certificates for OpenVPN. You should run these commands one at a time and answer the questions that are asked -</p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">. ./vars<br />
./clean-all<br />
./build-ca<br />
./build-key-server server<br />
./build-key tplink1</div></div>
<p>Now create a file called /etc/openvpn/server.conf with the following settings -</p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">port 1194<br />
proto udp<br />
dev tun<br />
ca /etc/openvpn/keys/ca.crt<br />
cert /etc/openvpn/keys/server.crt<br />
key /etc/openvpn/keys/server.key<br />
dh /etc/openvpn/keys/dh1024.pem<br />
server 10.20.0.0 255.255.255.0<br />
ifconfig-pool-persist ipp.txt<br />
client-config-dir ccd<br />
route 10.10.10.0 255.255.255.0<br />
keepalive 10 120<br />
comp-lzo<br />
user nobody<br />
group nobody<br />
persist-key<br />
persist-tun<br />
status openvpn-status.log<br />
verb 3</div></div>
<p>Now we&#8217;re going to tell OpenVPN to route traffic to our LAN behind the TP-LINK router -</p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mkdir ccd<br />
echo &quot;iroute 10.10.10.0 255.255.255.0&quot; &gt;&gt; ccd/tplink1</div></div>
<p>Now fire up OpenVPN -</p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">chkconfig openvpn on<br />
service openvpn start</div></div>
<p>Next we need to allow the OpenVPN traffic through the local IPTables firewall -</p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">iptables -I INPUT -i tun0 -j ACCEPT<br />
iptables -I INPUT -p udp -m udp --dport 1194 -j ACCEPT<br />
service iptables save</div></div>
<p><strong><span style="text-decoration: underline;">ON THE TP-LINK ROUTER VIA SSH</span></strong></p>
<p>Next from your PC we&#8217;re going to SSH on to the TP-LINK router at 10.10.10.1 and run the following. This will copy the certificate files we created earlier to the router. X.X.X.X should be replaced with your VPS IP -</p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cd /etc/openvpn<br />
scp X.X.X.X:/etc/openvpn/keys/ca.crt .<br />
scp X.X.X.X:/etc/openvpn/keys/tplink1.key .<br />
scp X.X.X.X:/etc/openvpn/keys/tplink1.crt .</div></div>
<p>Now create a copy of the original OpenVPN config file -</p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">cp /etc/config/openvpn /etc/config/openvpn.orig</div></div>
<p>Next we&#8217;re going to edit that file and change some settings from the default. These settings start half way down the file under the client configuration settings. Finally reboot the router -</p>
<div class="codecolorer-container text twitlight notranslate" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">vi /etc/config/openvpn<br />
<br />
option enable 1<br />
list remote &quot;X.X.X.X 1194&quot;<br />
option cert /etc/openvpn/tplink1.crt<br />
option key /etc/openvpn/tplink1.key<br />
<br />
reboot</div></div>
<p><strong><span style="text-decoration: underline;">ON THE TP-LINK ROUTER VIA THE WEB GUI</span></strong></p>
<p>First we&#8217;re going to create a new interface that includes the tun interface created by OpenVPN</p>
<ul>
<li>Network / Interfaces / Add New Interface</li>
<li>name &#8211; openvpn</li>
<li>protocol &#8211; unmanaged</li>
<li>interface &#8211; tun0</li>
</ul>
<p>and now we&#8217;re going to allow traffic through the TP-LINK firewall to the VPN -</p>
<ul>
<li>Network / Firewall / Zones / Add</li>
<li>Input / Output / Forward = Accept</li>
<li>Tick lan in Destination and Source zones</li>
</ul>
<p>and now Reboot the router.</p>
<p>And we&#8217;re done!</p>
<p>If you used the settings above then VPS should be accessible on the IP address via the IP 10.20.0.1. You should be able to get to the FreePBX web interface on this address and also use it for your phone configuration.</p>
<p>This is definitely not for the faint hearted as it&#8217;s pretty technical and could require some troubleshooting if things don&#8217;t work immediately. It&#8217;s pretty cool though and should allow for multiple VOIP handsets to be plugged in to the TP-LINK router and connect to the VPS without any worry of NAT problems  (as there&#8217;s no NAT happening across the VPN).</p>
<p>I&#8217;ve done a few test calls which worked well, but I&#8217;ve still got to do some speed tests to see how well the TP-LINK performs.</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2011/openvpn-sysadminman-asterisk-tl-wr1043nd-3431/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>FreePBX video guide Part 3 &#8211; Inbound Calling</title>
		<link>http://sysadminman.net/blog/2011/freepbx-video-guide-part-3-inbound-calling-3423</link>
		<comments>http://sysadminman.net/blog/2011/freepbx-video-guide-part-3-inbound-calling-3423#comments</comments>
		<pubDate>Wed, 28 Dec 2011 00:05:34 +0000</pubDate>
		<dc:creator>matt</dc:creator>
				<category><![CDATA[FreePBX]]></category>

		<guid isPermaLink="false">http://sysadminman.net/blog/?p=3423</guid>
		<description><![CDATA[This is part 3 of the video guide for getting started with FreePBX. This follows on from Part 2 which can be found here - http://sysadminman.net/blog/2011/freepbx-video-guide-part-2-outbound-calling-3414 The system used was a clean install of a SysAdminMan virtual server. You can find more details about this here - http://sysadminman.net/sysadminman-freepbx-a2billing-hosting.html The softphone used is called Blink, this works on [...]]]></description>
			<content:encoded><![CDATA[<p>This is part 3 of the video guide for getting started with FreePBX. This follows on from Part 2 which can be found here - <a href="http://sysadminman.net/blog/2011/freepbx-video-guide-part-2-outbound-calling-3414">http://sysadminman.net/blog/2011/freepbx-video-guide-part-2-outbound-calling-3414</a></p>
<p>The system used was a clean install of a SysAdminMan virtual server. You can find more details about this here - <a title="SysAdminMan virtual server" href="http://sysadminman.net/sysadminman-freepbx-a2billing-hosting.html" target="_blank">http://sysadminman.net/sysadminman-freepbx-a2billing-hosting.html</a></p>
<p>The softphone used is called Blink, this works on both Windows and Linux and you can find more details on that here - <a title="Blink softphone" href="http://icanblink.com/" target="_blank">http://icanblink.com/</a></p>
<p>&nbsp;</p>
<div style="margin-left:30px;">
<p><a href="http://www.youtube.com/watch?v=b0DYpt5umkE&#038;fmt=18">http://www.youtube.com/watch?v=b0DYpt5umkE</a></p>
</div>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://sysadminman.net/blog/2011/freepbx-video-guide-part-3-inbound-calling-3423/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.804 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-04 22:02:30 -->

