<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    For those who might be interested:<br>
    <br>
    During the last days we built a B2BUA based on Freeswitch and
    Raspberry PI Ver B which connects to a central server via OpenVPN in
    order to encrypt voice traffic and circumvent NAT issues. We plan to
    use it during travelling and to have VPN access in the home office.
    The costs for this are relatively low (~75$).<br>
    <br>
    We installed<br>
    <br>
    <ul>
      <li>Raspbian</li>
      <li>Freeswitch compiled native from GIT (this really takes a
        while)</li>
      <li>OpenVPN</li>
      <li>Dnsmasq for eth1 side</li>
      <li>isc-dhcp-server for eth1 side</li>
      <li>tftpd-hpa for eth1 side</li>
      <li>a second LAN interface eth1 was done by a Delock USB 2.0 to
        LAN interface (about 20$), works out of the box<br>
      </li>
      <li>iptables firewall for NAT traversal<br>
      </li>
    </ul>
    <br>
    This worked pretty well. We were not sure beforehand, whether the
    USB to LAN interface would work nicely, but in fact it did.<br>
    <br>
    CPU usage during a single call is<br>
    <tt>top - 10:47:34 up 39 min,&nbsp; 1 user,&nbsp; load average: 0,64, 0,40,
      0,24</tt><tt><br>
    </tt><tt>Tasks:&nbsp; 70 total,&nbsp;&nbsp; 1 running,&nbsp; 69 sleeping,&nbsp;&nbsp; 0 stopped,&nbsp;&nbsp;
      0 zombie</tt><tt><br>
    </tt><tt>%Cpu(s):&nbsp; 6,5 us, 12,1 sy,&nbsp; 0,0 ni, 64,9 id,&nbsp; 0,0 wa,&nbsp; 0,0
      hi, 16,5 si,&nbsp; 0,0 st</tt><tt><br>
    </tt><tt>KiB Mem:&nbsp;&nbsp;&nbsp; 448776 total,&nbsp;&nbsp;&nbsp; 94656 used,&nbsp;&nbsp; 354120 free,&nbsp;&nbsp;&nbsp;
      13096 buffers</tt><tt><br>
    </tt><tt>KiB Swap:&nbsp;&nbsp; 102396 total,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 used,&nbsp;&nbsp; 102396 free,&nbsp;&nbsp;&nbsp;
      42464 cached</tt><tt><br>
    </tt><tt><br>
    </tt><tt>&nbsp; PID USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PR&nbsp; NI&nbsp; VIRT&nbsp; RES&nbsp; SHR S&nbsp; %CPU %MEM&nbsp;&nbsp;&nbsp;
      TIME+&nbsp; COMMAND</tt><tt><br>
    </tt><tt>&nbsp;2785 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -2 -10 28328&nbsp; 14m 4844 S&nbsp;&nbsp; 5,3&nbsp; 3,2&nbsp;&nbsp;
      0:30.45 freeswitch</tt><tt><br>
    </tt><tt>&nbsp;2651 root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0&nbsp; 5800 3052 1848 S&nbsp;&nbsp; 3,0&nbsp; 0,7&nbsp;&nbsp;
      0:07.73 openvpn</tt><tt><br>
    </tt><tt>&nbsp;3051 pi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20&nbsp;&nbsp; 0&nbsp; 5096 1256&nbsp; 968 R&nbsp;&nbsp; 0,7&nbsp; 0,3&nbsp;&nbsp;
      0:01.97 top</tt><tt><br>
    </tt><br>
    4 GB CF card was about 75%. Codec was G711. <br>
    The load was mainly generated by the USB-to-LAN adapter. Maybe
    someone has a better solution for this?<br>
    <br>
    At the end we were impressed, how easy this was to set up.<br>
    So now we have an easy VPN-Router/B2BA which allows us to<br>
    <br>
    <ul>
      <li>connect a PC somewhere and tunnel all traffic via VPN</li>
      <li>connect a SIP phone somewhere and tunnel all VoIP traffic via
        VPN</li>
    </ul>
    <br>
    We did this with an OpenWRT Box before, but this is much more easy
    to handle.<br>
    <br>
    Best regards<br>
    Peter<br>
    &nbsp;<br>
    <br>
  </body>
</html>