summaryrefslogtreecommitdiffstats
path: root/openbsc/doc/examples
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-11-18 17:09:22 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-11-30 11:30:36 +0100
commite5e78c21bb6e63a1fd1d2e62c042ecce867c2efc (patch)
tree3a8b36df6acc75b8f9c0408e77089c20b2c35ec1 /openbsc/doc/examples
parentff252bb80172826391b6286fd240266fe842cc83 (diff)
gtphub: add to debian build
By the example of osmo-sgsn, package osmo-gtphub for debian. Sponsored-by: On-Waves ehi
Diffstat (limited to 'openbsc/doc/examples')
-rw-r--r--openbsc/doc/examples/osmo-gtphub/osmo-gtphub.cfg23
1 files changed, 23 insertions, 0 deletions
diff --git a/openbsc/doc/examples/osmo-gtphub/osmo-gtphub.cfg b/openbsc/doc/examples/osmo-gtphub/osmo-gtphub.cfg
new file mode 100644
index 000000000..c9bb4cf42
--- /dev/null
+++ b/openbsc/doc/examples/osmo-gtphub/osmo-gtphub.cfg
@@ -0,0 +1,23 @@
+!
+! Osmocom gtphub configuration
+!
+
+line vty
+ no login
+
+gtphub
+ ! Local addresses to listen on and send from, each on standard ports
+ ! 2123 and 2152. Setting these addresses is mandatory.
+ bind-to-sgsns 127.0.0.1
+ bind-to-ggsns 127.0.0.2
+
+ ! Local nonstandard ports or separate IPs:
+ !bind-to-sgsns ctrl 127.0.0.1 2342 user 127.0.0.1 4223
+
+ ! Proxy: unconditionally direct all traffic to...
+ !ggsn-proxy 127.0.0.3
+ !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
+