Hi Ganbold,
You should have:
[RoutedMode] GKRouted=1 H245Routed=1 SupportNATedEndpoints=1
and (depending on your NATs) you may need
[Proxy] ProxyForNAT=1
To get an incoming call through a NAT, you also need to forward the signaling, H.245, and media ports, or put the destination host in the DMZ. Fast start and/or H.245 tunneling may help, if supported by your endpoints.
Most folks that use gnugk have hardphones, ATAs, and/or gateways, or interoperate with ITSPs or existing H.323 networks. If you are just trying to talk between PCs, IMO it will be easier if you use IM or SIP-based clients; they are more NAT-friendly.
If you don't have any administrative control over the NATs, you may not be able to get incoming H.323 calls at all.
If you need multiple endpoints on different private addresses behind the same NAT, you should consider running another gatekeeper there, otherwise you'll have a configuration nightmare.
If you proceed and still have trouble, use the tracing
features of gnugk or Ethereal to find out what is
failing.
--Stewart
----- Original Message ----- From: "Ganbold" <ganbold@xxxxxxxxxxxxx>
To: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, September 10, 2004 10:01 AM
Subject: gnugk behind NAT questions
Hi all,
I'm using gnugk 2.2beta4 in FreeBSD 4.10 -STABLE system.
I tried to make calls like below using gnugk, but it is not working.
MyPhone1 -> NAT -> gnugk 2.2.beta4 -> NAT -> MyPhone2
where MyPhone1 is in 192.168.0.0 network and MyPhone2 is in either 192.168.0.0 or 192.168.32.0 network,
and gnugk has public IP address.
Is it possible to make gnugk work like this way?
How should configuration look like? Is there any other things should I consider?
thanks in advance,
Ganbold
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/