aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/osmo-gtphub/osmo-gtphub-1iface.cfg
blob: d4dadf901ad4a8f5fa1d28c4d789107de7a304b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
!
! Osmocom gtphub configuration
!
! This file is used for VTY tests, referenced by openbsc/osmoappdesc.py
! For the test, try to use most config commands.
!

log stderr
 logging color 1
 logging print category-hex 0
 logging print category 1
 logging timestamp 0
 logging print file basename last
 logging print level 1

line vty
 no login

gtphub
 ! Local addresses to listen on and send from, both on one interface.
 ! The side towards SGSN uses nonstandard ports.
 bind-to-sgsns ctrl 127.0.0.1 12123 user 127.0.0.1 12153
 ! The GGSN side with standard ports.
 bind-to-ggsns 127.0.0.1

 ! Proxy: unconditionally direct all traffic to...
 sgsn-proxy 127.0.0.4

 ! Proxy with nonstandard ports or separate IPs:
 ggsn-proxy ctrl 127.0.0.3 2123 user 127.0.0.5 2152

 ! Add a name server for GGSN resolution
 grx-dns-add 192.168.0.1