<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, 1 user, load average: 0,64, 0,40,
0,24</tt><tt><br>
</tt><tt>Tasks: 70 total, 1 running, 69 sleeping, 0 stopped,
0 zombie</tt><tt><br>
</tt><tt>%Cpu(s): 6,5 us, 12,1 sy, 0,0 ni, 64,9 id, 0,0 wa, 0,0
hi, 16,5 si, 0,0 st</tt><tt><br>
</tt><tt>KiB Mem: 448776 total, 94656 used, 354120 free,
13096 buffers</tt><tt><br>
</tt><tt>KiB Swap: 102396 total, 0 used, 102396 free,
42464 cached</tt><tt><br>
</tt><tt><br>
</tt><tt> PID USER PR NI VIRT RES SHR S %CPU %MEM
TIME+ COMMAND</tt><tt><br>
</tt><tt> 2785 root -2 -10 28328 14m 4844 S 5,3 3,2
0:30.45 freeswitch</tt><tt><br>
</tt><tt> 2651 root 20 0 5800 3052 1848 S 3,0 0,7
0:07.73 openvpn</tt><tt><br>
</tt><tt> 3051 pi 20 0 5096 1256 968 R 0,7 0,3
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>
<br>
<br>
</body>
</html>