Re: Questions about gnugk and NAT

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

 



Hi,

You need to tell the GK your public IP, so it can put that
address in RAS and signaling packets.

In gnugk 2.0.x, you can do that with:
[Gatekeeper::Main]
NetworkInterfaces=192.168.1.57/24,211.111.111.57/0

Unfortunately, GK behind NAT does not always work correctly
in 2.2.0.  If 2.0.x will work in your application, I
suggest that you try the older version, if you still have
the problem after setting NetworkInterfaces.

--Stewart

----- Original Message ----- From: <jamesxuruo@xxxxxxxxxxxxxxxx>
To: <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, January 12, 2005 10:34 AM
Subject: Questions about gnugk and NAT



Dear all:
I use Debain/Linux run Gnugk 2.2.0 and ohphone. they are :
1)A is Debian/Linux and run Gnugk 2.2.0, it's IP is 192.168.1.57 and i
config my gateway's firewall to make
192.168.1.57 map 211.111.111.57.
2)B is Debian/Linux and run ohphone with IP: 192.168.0.138, and i config
my firewall not to filter any packet to this IP.

now, B run: ohphone -g 211.111.111.57 -u sandy -l, it telles me that can
not regist on gnugk.
I use ethereal to capture packets and find these packets:

192.168.0.138 211.111.111.57 H.225.0 RAS: gatekeeperRequest
211.111.111.57 192.168.0.138 H.225.0 RAS: gatekeeperConfirm
192.168.0.138 192.168.1.57 H.225.0 RAS: registrationRequest
192.168.0.138 192.168.1.57 H.225.0 RAS: registrationRequest

It is so strange, When B send registrationRequest to A, it should send
to 211.111.111.57 but not 192.168.1.57. why?
my gatekeep.ini is:
[Gatekeeper::Main]
Fourtytwo=42
Name=OpenH323GK

[RoutedMode]
GKRouted=1
AcceptUnregisteredCalls=1
SupportNATedEndpoints=1
H245PortRange=30000-30010
Q931PortRange=30011-30020

[RasSrv::ARQFeatures]
CallUnregisteredEndpoints=1

[Proxy]
;Enable=1
RTPPortRange=5000-5010

[GkStatus::Auth]
rule=allow

[Gatekeeper::Auth]
default=allow
I run my GK with these commands: gnugk -r -ttt
any ideas, thx very much



------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

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

  Powered by Linux