Neels Hofmeyr | 720372e | 2015-12-14 11:29:55 +0100 | [diff] [blame] | 1 | ! |
| 2 | ! Osmocom gtphub configuration |
| 3 | ! |
| 4 | ! This file is used for VTY tests, referenced by openbsc/osmoappdesc.py |
| 5 | ! For the test, try to use most config commands. |
| 6 | ! |
| 7 | |
| 8 | line vty |
| 9 | no login |
| 10 | |
| 11 | gtphub |
| 12 | ! Local addresses to listen on and send from, both on one interface. |
| 13 | ! The side towards SGSN uses nonstandard ports. |
| 14 | bind-to-sgsns ctrl 127.0.0.1 12123 user 127.0.0.1 12153 |
| 15 | ! The GGSN side with standard ports. |
| 16 | bind-to-ggsns 127.0.0.1 |
| 17 | |
| 18 | ! Proxy: unconditionally direct all traffic to... |
| 19 | sgsn-proxy 127.0.0.4 |
| 20 | |
| 21 | ! Proxy with nonstandard ports or separate IPs: |
| 22 | ggsn-proxy ctrl 127.0.0.3 2123 user 127.0.0.5 2152 |
| 23 | |
| 24 | ! Add a name server for GGSN resolution |
| 25 | grx-dns-add 192.168.0.1 |