summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2018-09-23 17:07:03 +0200
committerRuben Undheim <ruben.undheim@gmail.com>2018-09-23 17:07:47 +0200
commit7d6eeda86957cadf71c1f446fe57ebf5709dbec2 (patch)
treefb5e074278072bfbd0d92ca875bce90b3c9eff1b
parent2f51c32c843653e5b5d0c6c93fd0939cfc1f7314 (diff)
Install default configuration file
-rw-r--r--debian/changelog1
-rw-r--r--debian/osmo-ggsn.cfg15
-rw-r--r--debian/osmo-ggsn.install1
3 files changed, 17 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index f9082bb..4db423c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
osmo-ggsn (1.2.2-2~exp1) UNRELEASED; urgency=medium
* Team upload
+ * Install default configuration file
* debian/control:
- New standards version 4.2.1 - no changes
* debian/rules:
diff --git a/debian/osmo-ggsn.cfg b/debian/osmo-ggsn.cfg
new file mode 100644
index 0000000..9499c80
--- /dev/null
+++ b/debian/osmo-ggsn.cfg
@@ -0,0 +1,15 @@
+! this configuration requires the apn0 tun device to be configured and up, as
+! well as IP-forwarding and masquerading to be enabled -- please see the manual
+! as indicated above.
+
+ggsn ggsn0
+ gtp bind-ip 192.168.0.42
+ apn internet
+ tun-device apn0
+ type-support v4
+ ip dns 0 192.168.0.1
+ ip dns 1 8.8.8.8
+ ip prefix dynamic 192.168.42.0/24
+ no shutdown
+ default-apn internet
+ no shutdown ggsn
diff --git a/debian/osmo-ggsn.install b/debian/osmo-ggsn.install
index 522a3d1..dd47653 100644
--- a/debian/osmo-ggsn.install
+++ b/debian/osmo-ggsn.install
@@ -1,3 +1,4 @@
/usr/bin/osmo-ggsn
/usr/bin/sgsnemu
/usr/share/man/man8/*
+debian/osmo-ggsn.cfg etc/osmocom/