FreePBX VoIP Tutorial Part 5 - Router Settings
Static DNS (optional. You can use your ISP's, Google's, or OpenDNS.)
Google:
8.8.8.8
8.8.4.4
OpenDNS:
208.67.222.222
208.67.220.220
Set a Static DHCP for your server's emulated network card. Find the MAC address either in your router's interface or in VirtualBox, settings, network
Port forwarding is as follows
UDP - 10001-20000 (RTP Calling)
TCP - 5222 (Google Voice)
UDP - 5060-5082 (SIP)
Point these to your VirtualBox machine's internal IP address. In the example, it's 192.168.1.125.
So your router will accept incoming connections on the ports we specify, but IP Tables (Linux Firewall) will reject unwanted traffic connecting to those ports. IP Tables is more difficult to configure
than router ports, so we'll skip them for now.
My router: Linksys/Cisco WRT320N / E2000 with Tomato-E2000-1.28.9054MIPSR2-beta-vpn3.6 firmware
Relevant links:
Tomato Firmware Wiki: http://en.wikipedia.org/wiki/Tomato_%28firmware%29
fail2ban Wiki: http://en.wikipedia.org/wiki/Fail2ban
UDP Timeout thread: UDP Timeout thread: http://www.linksysinfo.org/index.php?threads/default-tomato-timeouts-break-voip.33471/
Part 1 - Introduction - http://www.youtube.com/watch?v=u9DzN1Pu6-Q&hd=1
Part 2 - Gmail and Google Voice Setup - http://www.youtube.com/watch?v=TJ_mZ_3t3r0&hd=1
Part 3 - VirtualBox and PBX in a Flash - http://www.youtube.com/watch?v=tl-knKvixzs&hd=1
Part 4 - DDNS - Free Static IP Setup - http://www.youtube.com/watch?v=gVeh1zdtJsE&hd=1
Part 5 - Router Settings - http://www.youtube.com/watch?v=bGq1_G6rKHY&hd=1
Part 6 - Configuring FreePBX - http://www.youtube.com/watch?v=G1dXb85Bzts&hd=1
Part 7 - Configuring Google Voice - http://www.youtube.com/watch?v=qA8Qw7GmPug&hd=1
Part 8 - Configuring CSipSimple for your first call - http://www.youtube.com/watch?v=3A-yar-JoOQ&hd=1
Part 9 - Installing codecs - G.729 - http://www.youtube.com/watch?v=xI91X6pcvF4&hd=1
Part 10 - Module updates + Backup & Restore - http://www.youtube.com/watch?v=R8RDTZBsUdc&hd=1
Part 11 - Setting up multiple Google Voice phones - http://www.youtube.com/watch?v=t1mFdRFNRsY&hd=1
Part 12 - Now what? Get a free phone number with IPKALL + Hold Music - http://www.youtube.com/watch?v=fR7O_DbUZI0&hd=1