Hi all,
We are currently running gnugk version 2.0.9 in our lab network for 3G mobile phone services, and it works ok.
We have tried 2.2.0, 2.2.1 and 2.2.2 versions but we experience some issues with the nat feature.
I saw that this problem was discussed 6 months ago http://sourceforge.net/mailarchive/message.php?msg_id=10036486, but can’t find any fix. We are exactly in the same situation (gnugk behind natbox) :
EP (public ip) ------- FW NATbox ---------- GNUGK ----------- H324m GW
1.2.3.4 public ip 1.2.3.1
Private ip 164.128.93.71
With 2.2.x version, any nated call fails with the reason:
2005/08/08 11:53:56.387 3 ProxyChannel.cxx(1741) Q931s Call 4 is NAT type 0
2005/08/08 11:53:56.388 3 ProxyChannel.cxx(628) GK Call 4 proxy enabled
2005/08/08 11:53:56.390 3 ProxyChannel.cxx(2270) Q931 1.2.3.4:1721 DIDN'T ACCEPT THE CALL
2005/08/08 11:53:56.392 2 RasTbl.cxx(2209) CDR ignore not connected call
With a network capture we can see that no packet is sent from the gk to 1.2.3.4!!!
If we remove the public ip of the gk in the NetworkInterfaces section, the call succeeds but obviously the RTP packets are not routed correctly from the EP (internet) to the gatekeeper.
It's not critical for us since version 2.0.9 works well but I suspect something was broken.
Thanks for your help,
Guillaume
conf
*************************************************
[Gatekeeper::Main]
Fourtytwo=42
Name=OpenH323GK
TimeToLive=300
;Home=164.128.93.71
NetworkInterfaces=164.128.93.71/24,1.2.3.1/0
[RoutedMode]
GKRouted=1
H245Routed=0
CallSignalPort=1721
CallSignalHandlerNumber=10
Q931PortRange=20000-20999
H245PortRange=30000-30999
SupportNATedEndpoints=1
RemoveH245AddressOnTunneling=1
ForwardOnFacility=1
ShowForwarderNumber=1
;AcceptUnregisteredCalls=1
[Proxy]
Enable=1
;InternalNetwork=164.128.93.64/24
ProxyForNAT=1
T120PortRange=40000-40999
RTPPortRange=50000-59999
ProxyForSameNAT=1
**************************************************
Boot log :
2005/08/08 16:27:32.728 2 singleton.cxx(32) Create instance: Toolkit(1)
2005/08/08 16:27:32.800 2 Toolkit.cxx(262) Network=164.128.93.64/255.255.255.192, IP=164.128.93.71
2005/08/08 16:27:32.800 2 Toolkit.cxx(262) Network=164.128.93.0/255.255.255.192, IP=164.128.93.71
2005/08/08 16:27:32.800 2 Toolkit.cxx(262) Network=169.254.0.0/255.255.0.0, IP=164.128.93.71
2005/08/08 16:27:32.800 2 Toolkit.cxx(262) Network=127.0.0.0/255.0.0.0, IP=127.0.0.1
2005/08/08 16:27:32.800 2 Toolkit.cxx(263) Default IP=164.128.93.71
2005/08/08 16:27:32.801 2 Toolkit.cxx(262) Network=164.128.93.64/255.255.255.192, IP=164.128.93.71
2005/08/08 16:27:32.801 2 Toolkit.cxx(262) Network=0.0.0.0/0.0.0.0, IP=1.2.3.1
2005/08/08 16:27:32.801 2 Toolkit.cxx(263) Default IP=164.128.93.71