From 7d6eeda86957cadf71c1f446fe57ebf5709dbec2 Mon Sep 17 00:00:00 2001 From: Ruben Undheim Date: Sun, 23 Sep 2018 17:07:03 +0200 Subject: Install default configuration file --- debian/changelog | 1 + debian/osmo-ggsn.cfg | 15 +++++++++++++++ debian/osmo-ggsn.install | 1 + 3 files changed, 17 insertions(+) create mode 100644 debian/osmo-ggsn.cfg 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/ -- cgit v1.2.3