RE: gnugk behind NAT ADSL modem

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

 



Sorry, I don't know what is wrong.  The toolkit.cxx log entries
look normal to me.  Did you verify that the RemoteMediaIPAdress
is still wrong?  You could try adding the other LAN to InternalNetwork,
or, try removing that parameter altogether.  The intended purpose
of InternalNetwork is to tell the GK what calls should *not* be
proxied.  So, it should not cause trouble (in this test case) to
remove it completely.

Some 2.2.x versions have had bugs associated with GK behind NAT,
though I have not heard of this specific problem before.  If it is
not too hard, try a 2.0.x version and see if it behaves the same way.

If you still have trouble, run Ethereal on the GK machine
to verify that the GK is really putting its private IP in the
OpenLogicalChannel or OpenLogicalChannelAck requests, even
though it is seeing call signaling from a public IP.  It's
possible that something else on your network is modifying the
packets.

--Stewart
________________________________________
From: Swetli [mailto:sw3v@xxxxxxxxx] 
Sent: Thursday, December 22, 2005 12:40 AM
To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Subject: RE:  gnugk behind NAT ADSL modem

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 replace
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:
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?




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opÌk
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id?49
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


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

  Powered by Linux