Only OneXtel administrators create and change tunnels. You agree the settings with your account team and configure
your own gateway to match.
How tunnels and trunks fit together
- One tunnel per partner gateway. A tunnel connects the OneXtel gateway to one IPsec gateway on your side. Several trunks can use the same tunnel.
- A trunk opts in. Each trunk is set to reach its host either over the internet (the default) or through a named tunnel. Trunks that do not use a tunnel are unchanged.
- The trunk host is a private address. A trunk that goes through a tunnel must point at an IP address inside your tunnel subnets, and use UDP or TCP. TLS is for trunks reached over the internet.
- Fallback still works. A number can have a tunnel trunk first and an internet trunk as its backup, or the other way round.
What you give OneXtel
What OneXtel gives you
OneXtel gives you these details for your side of the tunnel:
Allow SIP and RTP from the OneXtel encryption domain to your SIP platform inside the tunnel. Calls and audio come
from that address, not from the gateway addresses used for internet trunks.
The OneXtel side of the tunnel is behind NAT, so the tunnel uses NAT traversal: IKE on UDP 500 and 4500, and the
encrypted traffic inside UDP 4500. Your gateway must accept NAT-T from the OneXtel peer.
Set up a tunnel
1
Agree the settings
Send your account team the details in What you give OneXtel, and take the details in
What OneXtel gives you. Share the pre-shared key out of band.
2
OneXtel opens its firewall for your gateway
OneXtel allows IKE and NAT-T from your gateway’s public IP. Until this is done, your gateway’s IKE messages do
not reach the OneXtel gateway.
3
OneXtel creates the tunnel
OneXtel enters your settings and the pre-shared key. The OneXtel gateway starts the tunnel itself and keeps
retrying until your side answers.
4
Configure your gateway
Set up the matching tunnel on your IPsec gateway: the same IKE version, proposals, lifetimes and key, with the
OneXtel encryption domain as the remote side and your subnets as the local side.
5
Check that the tunnel is up
OneXtel confirms the tunnel shows as up. It usually comes up within a few seconds of both sides being ready.
6
Point the trunk at the tunnel
OneXtel sets the trunk’s Reach the host to Through tunnel with your tunnel’s name, and its host to your
SIP platform’s private address.
7
Place a test call
Call the WhatsApp number and confirm audio flows both ways, as in
Test your first call.
Tunnel states
OneXtel sees each tunnel’s state in the console. The gateway checks it every few seconds.
A tunnel with no pre-shared key, or one that OneXtel has disabled, is not started.

