Fourtytwo=42
Name=GKA
TimeToLive=500
[RasSrv::Neighbors]
DGK=10.10.10.3;*
[SQLConfig]
Driver=PostgreSQL
Host=10.10.10.3
Database=postgres
Username=postgres
Password=
XXX
NeighborsQuery=SELECT nip,nid,nport,npfxtext,password,dynamicIP FROM neighbor WHERE nip = '%1'
[RoutedMode]
GKRouted=1
AcceptUnregisteredCalls=0
H245Routed=1
[GKStatus::Auth]
shutdown=forbid
rule=regex
regex=^(10\.10\.10\.1)|(127\.0\.0\.1)$
[Proxy]
Enable=1
RTPPortRange=50000-50999
Fourtytwo=42
Name=GKB
TimeToLive=500
[SQLConfig]
Driver=PostgreSQL
Host=10.10.10.3
Database=postgres
Username=postgres
Password=
XXX
NeighborsQuery=SELECT nip,nid,nport,npfxtext,password,dynamicip FROM neighbor WHERE nip = '%1'
[RasSrv::Neighbors]
DGK=10.10.10.3;*
[RoutedMode]
GKRouted=1
AcceptUnregisteredCalls=0
H245Routed=1
[GKStatus::Auth]
shutdown=forbid
rule=regex
regex=^(10\.10\.10\.2)|(127\.0\.0\.1)$
[Proxy]
Enable=1
RTPPortRange=50000-50999
---------------------- PosgreSQL ------------------------------
5 - My PosgreSQL (10.10.10.3):
$ psql -U postgres -h localhost -d postgres
Password: XXX
Welcome to psql 7.4.7, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit
postgres=# SELECT * from neighbor ;
nid | nip | nport | npfxtext | password | dynamicip
-----+-----------------+-------+----------+----------+-----------
GKA |
10.10.10.1 | | 1100 | |
GKB | 10.10.10.2 | | 1010 | |
DGK | 10.10.10.3 | | * | |
(3 rows)
PS: In Postgres (table neighbor) I already used in the npfxtext "*" to GKA and GKB, but the call didn´t start too.