How To Config WAN(ADSL IP) to LAN?

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

 



hi:

I want to use the gnugk as an H.323 Proxy, there has three network interfaces:

   WAN:  ADSL IP
   LAN1: IP=192.168.0.1/255.255.255.0
   LAN2: IP=192.168.10.1/255.255.255.0

                       [Parent GK]
Name=PublicGK WAN(double NetWork Adapter:218.228.18.213/192.168.10.33) and LAN2
                       /         \
                      /           \
                     /             \
                    /               \
               [Child GK]          [EP3]
               Name=NatGK          WAN or LAN1
               Prefix=9600
               LAN2(192.168.10.100)
               /               \
              /                 \
             /                   \
          [EP1]                 [EP2]
          LAN2(192.168.10.100)  LAN2(192.168.10.100)

Endpoints such as EP3 may comes from WAN(ADSL IP) or LAN1, it register with the gatekeeper from PublicGK. EP1 and EP2 and ChildGK in the same computer(192.168.10.100) from LAN2, I want EP3 can call EP1 or EP2, if EP3 comes from LAN1 is OK, but WAN is not. ParentGK and ChildGK's ini file is there, how can i modify them:

Public.ini
---------------------------
[Gatekeeper::Main]
Fourtytwo=42
Name=PublicGK
TimeToLive=600

[RoutedMode]
GKRouted=1
H245Routed=1
CallSignalPort=1721
;; CallSignalHandlerNumber=2
;; DropCallsByReleaseComplete=1
RemoveH245AddressOnTunneling=1
SupportNATedEndpoints=1
Q931PortRange=30000-39999
H245PortRange=40000-49999

[Proxy]
Enable=1
;; InternalNetwork=10.0.0.0/8,192.168.0.0/16
T120PortRange=50000-59999
RTPPortRange=50000-59999

[GkStatus::Auth]
rule=allow

NAT.ini
-----------------------------------------
[Gatekeeper::Main]
Fourtytwo=42
Name=NatGK TimeToLive=600

[RoutedMode]
GKRouted=1
H245Routed=0
CallSignalPort=1721
DropCallsByReleaseComplete=1
RemoveH245AddressOnTunneling=1
;; SupportNATedEndpoints=1
Q931PortRange=30000-39999
H245PortRange=40000-49999

[Endpoint]
Gatekeeper=192.168.10.33
Type=Gateway
H323ID=NatGK
E164=9600GK
Prefix=9600

[Endpoint::RewriteE164]
9600=9

;; [Proxy] ;; Enable=1 ;; InternalNetwork=192.168.10.1/255.255.255.0 ;; T120PortRange=50000-59999 ;; RTPPortRange=50000-59999
[GkStatus::Auth]
rule=allow


  I'm sorry for my poor English, please help me, Thanks.

        yzq
        yzqnet@xxxxxxx
          2006-02-28

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
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