Specifications
3CXTunnel/3CXSessionBorderController
Introduction
3CX includes the 3CX Tunnel to allow for easier bridging of remote 3CX Phone Systems and
connectingremoteextensions.The3CXTunnelcombinesallSIP(signaling)andRTP(media)VoIP
Packetsfromonelocationanddeliversthemtoandfromanotherlocation(typicallythePBXServer)
using a custom TCP protocol. This simple concept allows 3CX to overcome firewall or telecom
providerissues.The3CXTunnelcanbeusedforthefollowingreasons:
● ResolveissuesofNATTraversalatboththeremoteandthePBXlocation.
● SimplifiedFirewallconfigurationatboththeremoteandthePBXlocation.
● OvercomedifficultieswithISPsthatblockVoIPTrafficbasedonportnumbers.
● AllowsVoIPoverWiFiinsomerestrictedlocations,suchasHotelrooms.
● “Fixes” Firewalls thatcannot handle VoIP traffic correctlyor which are very problematic to
configurecorrectly,suchas:
○ MicrosoftISAServer
Note: Presence information does not get carriedthrough the Tunnel to the remote network as of
yet.MakesurethattheHTTP/HTTPSportsyouhavechosenduringtheinstallationareopenonthe
PBXserverside.
HowitWorks
The3CXTunnel
The image above demonstrates how the 3CX Tunnel works. In this example, the 3CX Phone
SystemisonIPAddress10.0.0.181,andlistensonTCPport5090(bydefault)forincomingTunnel
traffic.WemustsetupasinglePortForwardingruleontheModemorNAT/FirewallDevice,tellingit
that all incoming TCP traffic received on port 5090 should be delivered to LAN IP Address
10.0.0.181.
Theremotesetupisshownonthelefthandsideofthecloud.Inthisexample,themachinewithIP
addressof192.168.0.2has3CXPhoneinstalled.WewillneedtotelltheVoIPPhonethepublicIP
addressofthePBXServer(whichinthiscaseis213.165.190.51),andalsotheprivateIPaddress
ofthePBXServer(whichinthiscaseis10.0.0.181).Sincethe3CXPhonewillbydefaultusethe
standard port numbers used by 3CX Phone System, typically no further configuration will be
necessary!
ConfiguringtheTunnel
Wewillusetheaboveexamplein“Howthe3CXTunnelWorks”toconfigureatunnelconnection.
Step1–ConfigurethePBX
Inthe3CXManagementConsole,gotothe“Settings”>“Network”>“3CXTunnel”tab.
1. ConfiguretheTunnelPassword(e.g.“r6W4Qi”)
2. Set the Local IP to the Local IP Address of the NIC, which will be receiving tunnel