RE: gnugk behind NAT ADSL modem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I set
NetworkInterfaces=192.168.1.234/24,192.168.5.2/24,A.B.C.D/0
I get the following when reloading gnugk:

Toolkit.cxx(262)   Network=192.168.5.0/255.255.255.0, IP=192.168.5.2
Toolkit.cxx(262)   Network=192.168.1.0/255.255.255.0, IP=192.168.1.234
Toolkit.cxx(262)   Network=127.0.0.0/255.0.0.0, IP=127.0.0.1
Toolkit.cxx(263)   Default IP=192.168.5.2

Toolkit.cxx(262)   Network=192.168.5.0/255.255.255.0, IP=192.168.5.2
Toolkit.cxx(262)   Network=0.0.0.0/0.0.0.0, IP=A.B.C.D
Toolkit.cxx(263)   Default IP=192.168.5.2

May be the default IP should be A.B.C.D ?!


Also i see this
Toolkit.cxx(344)   GK      H.323 Proxy enabled
Toolkit.cxx(350)   GK      Internal Network 0 = 192.168.1.0/24

Should I add the 192.168.5.0/24 to the Proxy section so GNUGK can replac e 5.2 with A.B.C.D ?

Best Regards and thanks for the help!

Stewart Nelson <sn@xxxxxxxxxxx> wrote:

[Gatekeeper::Main]
NetworkInterfaces=192.168.1.234/24,192.168.5.2/24,A.B.C.D/0

Please note /0, not /32.

If that doesn't help, recheck Cisco log -- there may
be more than one problem.

--Stewart
________________________________________
From: Swetli [mailto:sw3v@xxxxxxxxx]
Sent: Wednesday, December 21, 2005 4:24 AM
To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Subject: gnugk behind NAT ADSL modem

Hi, all
I have the following setup:
�������������������������������������������������������� eth0:192.168.1.234
EP1--------------------------------------------------GNUGK
192.168.1.11�������������������� � � � � � � � � � eth1:192.168.5.2
��������������
���������������������������������������������������������� |
���������������������������������������������������������� |
���������������������������������������������������������� |
��������������������������������������������������������� eth0:192.168.5.1
������������������������������������������������������ ADSL
��������������������������������������������������������� eth1:A.B.C.D
���������������������������������������������������������� |
���������������������������������������������������������� |
���������������������������������������������������������� |
�������������������������������������������������������� CiscoGW

�����������������������������������������
GnuGk is behind ADSL NAT, which is doing full port forwarding. When EP1
calls CiscoGW everything is fine, but when GW tries to call EP1 there is one
way voice. In the debug logs of cisco i see the following:

RemoteIPAddress=A.B.C.D
RemoteUDPPort=5018
RemoteSignallingIPAddress=A.B.C.D
RemoteSignallingPort=1720
RemoteMediaIPAddress=192.168.5.2
RemoteMediaPort=5018

In gk.ini I saw there is NetworkInterfaces which states:
"Specify the network interfaces of the gatekeeper. By default the gatekeeper
will detect the interfaces of your host automatically. There are two
situations that you may want to use this option. One is automatical
detection failed, another is the gatekeeper is behind an NAT box and allow
endpoints with public IPs to register with. In this case you should set the
option just as the gatekeeper is running on the NAT box."
So I tried to set NetworkInterfaces=A.B.C.D/32 but the same thing happens..
This is my gk.ini file:

[Gatekeeper::Main]
Fourtytwo=42
Name=blabla
TimeToLive=300
TotalBandwidth=100000

[RoutedMode]
GKRouted=1
H245Routed=1
CallSignalPort=1720
CallSignalHandlerNumber=2
RemoveH245AddressOnTunneling=1
AcceptNeighborsCalls=1
AcceptUnregisteredCalls=1
SupportNATedEndpoints=1
DropCallsByReleaseComplete=1
SendReleaseCompleteOnDRQ=1
ForwardOnFacility=1
ShowForwarderNumber=0
H245PortRange=2000-4000

[Proxy]
Enable=1
InternalNetwork=192.168.1.0/24
RTPPortRange=5000-59999
ProxyForNAT=1



Please tell me what i'm doing wrong?

N�HYÞµé??X���'���u���[�������
ަ�k��!���W�~�é®?�zk��C� 塧m����@^Ç?��^��z�Z�f�z�j�!�x2�������ɫ,��� a{� �,�H��4�m���i�(��ܢo�v'��jYhr'ׯ:�rX���,�)�����zxw�x$�ǫ�X���(��~��zw��!�����.�Ç?�������j�!��~�î??i~��'�=R{.n�+������X���(��~��zw��X�����b��?����}��K�z��g�j���� 0�{����

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux