<?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>TLF Blog &#187; vpn</title>
	<atom:link href="http://thelinuxfix.com/blog/tag/vpn/feed/" rel="self" type="application/rss+xml" />
	<link>http://thelinuxfix.com/blog</link>
	<description>Hosting, Unix, and everything in between.</description>
	<lastBuildDate>Thu, 16 Feb 2012 23:20:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Trixbox, VPN&#8217;s, and the 20 Second Issue</title>
		<link>http://thelinuxfix.com/blog/2008/10/24/trixbox-vpns-and-the-20-second-issue/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=trixbox-vpns-and-the-20-second-issue</link>
		<comments>http://thelinuxfix.com/blog/2008/10/24/trixbox-vpns-and-the-20-second-issue/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 17:10:55 +0000</pubDate>
		<dc:creator>Greg</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Trixbox]]></category>
		<category><![CDATA[VoIP]]></category>
		<category><![CDATA[20 seconds]]></category>
		<category><![CDATA[aastra]]></category>
		<category><![CDATA[dropped calls]]></category>
		<category><![CDATA[hangup]]></category>
		<category><![CDATA[lost audio]]></category>
		<category><![CDATA[sip]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://www.thelinuxfix.com/blog/?p=20</guid>
		<description><![CDATA[The Linux Fix uses some pretty cool gear to run our phone system.   With some help from VMWare, an install of Trixbox here in the office is trunked to a few Broadvoice SIP business accounts.  Internally, we use some nice Aastra 480i IP Hardphones in the office that communicate via SIP to the Trixbox PBX. [...]]]></description>
			<content:encoded><![CDATA[<p>The Linux Fix uses some pretty cool gear to run our phone system.   With some help from <a href="http://www.vmware.com/products/server/overview.html">VMWare</a>, an install of <a href="http://www.trixbox.org/">Trixbox</a> here in the office is trunked to a few <a href="http://www.broadvoice.com/">Broadvoice</a> SIP business accounts.  Internally, we use some nice <a href="http://www.aastra.com/products-desk-phones.htm">Aastra 480i IP Hardphones</a> in the office that communicate via <a href="http://en.wikipedia.org/wiki/Session_Initiation_Protocol">SIP</a> to the Trixbox PBX.</p>
<p>This setup provides us with inexpensive long distance, a $5.00  toll-free number, as well as the ability to do ring-groups and call  forwarding to mobile phones when customers dial in and need support for our <a title="Web Hosting by The Linux Fix" href="http://www.thelinuxfix.com/hosting">web hosting</a>, <a title="VPS by The Linux Fix" href="http://www.thelinuxfix.com/virtual-server">VPS</a>, and <a title="Michigan Dedicated Servers by The Linux Fix" href="http://www.thelinuxfix.com/dedicated-server">Dedicated Server</a> products.</p>
<p>The Linux Fix also has a few people that help out and live out of  state.  For one of these guys, we have established a permanent VPN setup  a few months ago (with the help of a few <a href="http://www.fortinet.com/products/fortigate/">Fortigate</a> units) to provide them with an actual extension and ease management tasks.</p>
<p>Ever since we’ve had this setup, there was a nagging issue that we  just couldn’t get to the bottom of.   When calling from the  office-&gt;out, everything worked fine.   However, when the remotes  called into the office, or try to dial out (remember, everything is  trunked from the Trixbox here in California), the call would last <em>exactly</em> 20 seconds and then just suddenly disconnect.  Trixbox would also log something along the lines of:</p>
<blockquote><p>“Hanging up call 699105eb51dc2bb700889eafbf955a5e@10.0.2.10 &#8211; no reply to our critical packet.”</p></blockquote>
<p>Googling around reveals that quite a few people have at least some  variation of the same problem.  After some research we finally figured  it out.   It all has to do with NAT, Firewalling, and Trixbox (and thus  Asterisk’s) NAT settings.  It’s a a bit hard to explain in a blog post,  so hopefully these diagrams will sort it out and help explain what is  going on.</p>
<p><a href="http://www.thelinuxfix.com/blog/wp-content/uploads/2008/10/trixbox20secwrong.pdf">The “Wrong” Way</a>, and,<a href="http://www.thelinuxfix.com/blog/wp-content/uploads/2008/10/trixbox20secright.pdf"> The “Right”Way</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxfix.com/blog/2008/10/24/trixbox-vpns-and-the-20-second-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

