[Asterisk-Users] X-Lite to Asterisk through NAT?
Greg Hill
gregh-asterisk at hillnet.us
Wed Jul 28 21:12:06 MST 2004
On Wed, 28 Jul 2004, programmer_ted wrote:
> I have an X-Lite phone on my box and I'm trying to register it with a
> remote Asterisk box. Both the X-Lite and Asterisk are behind a NAT. I
> know it's a pain to do because of SIP not working well with NATs, but I
> know there are ways to do such a thing...moving the Asterisk box outside
> the NAT is not a possibility at the moment. One thing we tried was
mmm, a double-natted sip session. Now that's more fun than a person should
be allowed to have in a single day.
You didn't mention whether you have control over the NATs.. Everybody's
favorite, port forwarding, may come to your rescue. It seems that x-lite
always uses the same port for rtp (can't remember/find the number just
now). Set the xp-side NAT to forward traffic on that port in to the xp
box. You'd have to forward in the sip control port as well, I think. Then
maybe do a similar thing on the * side (maybe you have to forward a large
range of ports, 10000-20000 (?) on the * NAT?). I could be way off in the
wrong ball field, though, so feel free to point out why this might not
work.
Greg
More information about the asterisk-users
mailing list