Re: GnuGk behind NAT box

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

 



kerio remove the ini in the last mail, sry about that.

----- Original Message -----
From: Cesar Bermudez <bermudez@xxxxxxxxxx>
To: GNU Gatekeeper Users <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx>
Sent: Mon, 25 Sep 2006 13:32:59 -0300
Subject: Re:  GnuGk behind NAT box


> sorry i'forget the config
> 
> ----- Original Message -----
> From: Cesar Bermudez <bermudez@xxxxxxxxxx>
> To: GNU Gatekeeper Users <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx>
> Sent: Mon, 25 Sep 2006 13:30:13 -0300
> Subject: Re:  GnuGk behind NAT box
> 
> 
> > Sending trace and ini.
> > The level for the trace is ok or need more?
> > 
> > ----- Original Message -----
> > From: Simon Horne <s.horne@xxxxxxxxxxxxxx>
> > To: GNU Gatekeeper Users <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx>
> > Sent: Mon, 25 Sep 2006 12:45:35 -0300
> > Subject: Re:  GnuGk behind NAT box
> > 
> > 
> > > 
> > > 
> > > You need to send me the trace.
> > > I cannot resolve the problem without the Trace File.
> > > Send me the ini file as well.
> > > 
> > > You have a configuration problem.
> > > 
> > > Simon
> > > 
> > > At 11:37 PM 25/09/2006, you wrote:
> > > >i'm getting "duplicateAlias" and the gw is not changing the ip, the ip and 
> > > >ID is the same :S
> > > >
> > > >----- Original Message -----
> > > >From: Cesar Bermudez <bermudez@xxxxxxxxxx>
> > > >To: GNU Gatekeeper Users <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx>
> > > >Sent: Mon, 25 Sep 2006 11:49:24 -0300
> > > >Subject: Re:  GnuGk behind NAT box
> > > >
> > > >
> > > > > Hi, i'm using this, recently my gk is moved to a nat and he is behind a 
> > > > linksys,
> > > > > port
> > > > > forwarding is configured, and my .ini also was modified to reflect
> nat.ini
> > > > > settings, but i'have a problem, the call ends and i'see this in the
> logs:
> > > > >
> > > > > 2006/09/25 11:11:25.752 1             RasSrv.cxx(368)   RAS     RRQ 
> > > > Received
> > > > > 2006/09/25 11:11:25.752 1             RasSrv.cxx(1490)  RAS     Warning:
> > > > > Possibly endpointId collide,security attack or IP change
> > > > > 2006/09/25 11:11:25.752 1             RasSrv.cxx(1492)  RAS     Dynamic
> > IP?
> > > > > Removing existing Endpoint record and force reregistration.
> > > > > 2006/09/25 11:11:25.752 3             RasSrv.cxx(250)   RAS     Send to
> > > > > 2XX.XXX.XXX.XXX:1024
> > > > >
> > > > > But the GW is not changing the ip, the ip is the same, this is a bug?
> > > > >
> > > > > ----- Original Message -----
> > > > > From: Simon Horne <s.horne@xxxxxxxxxxxxxx>
> > > > > To: Gnu Gatekeeper Users <openh323gk-users@xxxxxxxxxxxxxxxxxxxxx>
> > > > > Sent: Mon, 18 Sep 2006 01:58:54 -0300
> > > > > Subject:  GnuGk behind NAT box
> > > > >
> > > > >
> > > > > >
> > > > > > To all
> > > > > >
> > > > > > I have checked in a fix which allows GnuGk to operate behind a NAT 
> > > > box in
> > > > > > the DMZ or with port forwarding. There is a sample ini file in the etc
> > > > > > directory of the CVS called nat.ini which demonstrates how to
> configure
> > > > > > GnuGk.
> > > > > >
> > > > > > Simon
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > -------------------------------------------------------------------------
> > > > > > Using Tomcat but need to do more? Need to support web services,
> > security?
> > > > > > Get stuff done quickly with pre-integrated technology to make your 
> > > > job easier
> > > > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache 
> > > > Geronimo
> > > > > >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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/
> > > > > >
> > > > >
> > > > >
> > > > >
> -------------------------------------------------------------------------
> > > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > > Join SourceForge.net's Techsay panel and you'll get the chance to share 
> > > > your
> > > > > opinions on IT & business topics through brief surveys -- and earn cash
> > > > >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > > > _______________________________________________________
> > > > >
> > > > > 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/
> > > > >
> > > >
> > > >
> > > >-------------------------------------------------------------------------
> > > >Take Surveys. Earn Cash. Influence the Future of IT
> > > >Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > > >opinions on IT & business topics through brief surveys -- and earn cash
> > > >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > >_______________________________________________________
> > > >
> > > >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/
> > > 
> > > 
> > > 
> > > -------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > > opinions on IT & business topics through brief surveys -- and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > _______________________________________________________
> > > 
> > > 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/
> > > 
> > 
> 
[Gatekeeper::Main]
Fourtytwo=42
Name=OpenH323GK
TimeToLive=60000
TotalBandwidth=1000000000
ExternalIP=200.40.88.158
ExternalIsDynamic=0

[RoutedMode]
GKRouted=1
H245Routed=0
CallSignalPort=1721
SupportNATedEndpoints=1
AcceptNeighborsCalls=1
CallSignalHandlerNumber=2
RemoveH245AddressOnTunneling=1
#DropCallsByReleaseComplete=1
#AcceptUnregisteredCalls=1
#DropCallsByReleaseComplete=1
ForwardOnFacility=1
ShowForwarderNumber=1
ConnectTimeout=180
ConnectTimeout=9999999
#TimeToLive=60
TranslateFacility=1
Q931PortRange=30000-30999
H245PortRange=31000-31999

[Accounting]
AlwaysUseCLID=1

[RasSrv::LRQFeatures]
AlwaysForwardLRQ=1
AcceptForwardedLRQ=1  
IncludeDestinationInfoInLCF=1
#NeighborTimeout=60
NeighborTimeout=2
ForwardHopCount=2
CiscoGKCompatible=1

[RasSrv::RRQFeatures]
AcceptGatewayPrefixes=1
OverwriteEPOnSameAddres=1
SupportDynamicIP=1

[RasSrv::ARQFeatures]
#ArjReasonRouteCallToSCN=1
#ArjReasonRouteCallToGatekeeper=1
CallUnregisteredEndpoints=0

[NATedEndpoints]
5112=true

[CallTable]
GenerateNBCDR=FALSE
GenerateNBCDR=0
GenerateUCCDR=TRUE
DefaultCallTimeout=2700
AcctUpdateInterval=60


[GkStatus::Auth]
rule=explicit | regex
default=allow
Shutdown=disable

[Gatekeeper::Auth]
RadAuth=optional;RRQ,ARQ
RadAliasAuth=required;RRQ,ARQ
default=allow

[RadAuth]
Servers=192.168.100.12:1812
LocalInterface=192.168.100.10
RadiusPortRange=10000-11000
DefaultAuthPort=1812
SharedSecret=
RequestTimeout=2000
IdCacheTimeout=9000
SocketDeleteTimeout=60000
RequestRetransmissions=5
RoundRobinServers=1
AppendCiscoAttributes=1
IncludeEndpointIP=1
 
[RadAliasAuth]
Servers=192.168.100.12:1812
LocalInterface=192.168.100.10
RadiusPortRange=10000-11000
DefaultAuthPort=1812
SharedSecret=
RequestTimeout=2000
IdCacheTimeout=9000
SocketDeleteTimeout=60000
RequestRetransmissions=5
RoundRobinServers=1
AppendCiscoAttributes=1
IncludeEndpointIP=1
FixedUsername=
FixedPassword=
 
[Gatekeeper::Acct]
RadAcct=required;start,stop,update,on,off
FileAcct=required;stop
StatusAcct=required;start,stop,update,connect

[RadAcct]
Servers=192.168.100.12:1813
LocalInterface=192.168.100.10
RadiusPortRange=10000-11000
DefaultAcctPort=1813
SharedSecret=
RequestTimeout=3500
IdCacheTimeout=9000
SocketDeleteTimeout=60000
RequestRetransmissions=4
RoundRobinServers=1
AppendCiscoAttributes=1
IncludeEndpointIP=1
FixedUsername=

[StatusAcct]
StartEvent=|||||----->     |CALL|Comienza una llamada de %{Calling-Station-Id} hacia %{Dialed-Number}
StopEvent=|||||----->     |CALL|Termino la llamada de %{Calling-Station-Id} hacia %{Dialed-Number} con una duracion de %{d} segundos
ConnectEvent=|||||----->     |CALL|Conecto la llamada de %{Calling-Station-Id} hacia %{Dialed-Number}
UpdateEvent=|||||----->     |CALL|Update de llamada de %{Calling-Station-Id} hacia %{Dialed-Number} llevando hablados %{d} segundos
TimestampFormat=MySQL

[FileAcct]
DetailFile=/var/log/gk/cdr.log
#StandardCDRFormat=1
Rotate=daily
RotateTime=23:59
StandardCDRFormat=0
TimestampFormat=Cisco
CDRString=%g|%n|%d|%c|%r|%s|%u|%{CallId}|%{ConfId}|%{setup-time}|%{connect-time}|%{caller-ip}|%{caller-port}|%{callee-ip}|%{callee-port}|%{src-info}|%{dest-info}|%{Calling-Station-Id}|%{Called-Station-Id}|%{Dialed-Number}

# SQL based configuration
[SQLConfig]
Driver=MySQL
Host=192.168.100.11
Database=
Username=
Password=
RewriteE164Query=SELECT rkey, rvalue FROM rewriterule WHERE gk = '%1'
PermanentEndpointsQuery=SELECT peip, peport, pealias, peprefix FROM petable WHERE gk = '%1'
GWPrefixesQuery=SELECT gwalias, gwpfx FROM gwprefix WHERE gk = '%1'
NeighborsQuery=SELECT nid, niphost, nport, npfx, npwd, ndipflag FROM neighbors WHERE gk = '%1'
                                                                                                                                                                                 
[Proxy]
Enable=1
T120PortRange=50000-59999
RTPPortRange=50000-59999
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________________

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