blob: b9f928f2d313ca3e8f541e02c3ad8174b4b5fdca [file] [log] [blame]
jjakod1afd812003-07-06 17:43:17 +00001
Harald Welte632e8432017-09-05 18:12:14 +02002.\" * OsmoGGSN - Gateway GPRS Support Node
jjakod1afd812003-07-06 17:43:17 +00003.\" * Copyright (C) 2002, 2003 Mondru AB.
4.\" *
5.\" * The contents of this file may be used under the terms of the GNU
6.\" * General Public License Version 2, provided that the above copyright
7.\" * notice and this permission notice is included in all copies or
8.\" * substantial portions of the software.
9.\" *
10.\" * The initial developer of the original code is
11.\" * Jens Jakobsen <jj@openggsn.org>
12.\" *
13.\" * Contributor(s):
14.\" *
Harald Welte632e8432017-09-05 18:12:14 +020015.\" Manual page for osmo-ggsn
jjakod1afd812003-07-06 17:43:17 +000016.\" SH section heading
17.\" SS subsection heading
18.\" LP paragraph
19.\" IP indented paragraph
20.\" TP hanging label
21
Harald Welte632e8432017-09-05 18:12:14 +020022.TH osmo-ggsn 8 "August 2017"
jjakod1afd812003-07-06 17:43:17 +000023.SH NAME
Harald Welte632e8432017-09-05 18:12:14 +020024osmo-ggsn \- Gateway GPRS Support Node.
jjakod1afd812003-07-06 17:43:17 +000025.SH SYNOPSIS
Harald Welte632e8432017-09-05 18:12:14 +020026.B osmo-ggsn
jjakod1afd812003-07-06 17:43:17 +000027\-\-help
28
Harald Welte632e8432017-09-05 18:12:14 +020029.B osmo-ggsn
jjakod1afd812003-07-06 17:43:17 +000030\-\-version
31
Harald Welte632e8432017-09-05 18:12:14 +020032.B osmo-ggsn
jjakod1afd812003-07-06 17:43:17 +000033[
Harald Weltedda21ed2017-08-12 15:07:02 +020034.BI \-\-help
jjakod1afd812003-07-06 17:43:17 +000035] [
Harald Weltedda21ed2017-08-12 15:07:02 +020036.BI \-\-daemonize
jjakod1afd812003-07-06 17:43:17 +000037] [
Harald Weltedda21ed2017-08-12 15:07:02 +020038.BI \-\-config-file " file"
jjakod1afd812003-07-06 17:43:17 +000039] [
Harald Weltedda21ed2017-08-12 15:07:02 +020040.BI \-\-version
jjakod1afd812003-07-06 17:43:17 +000041]
42.SH DESCRIPTION
Harald Welte632e8432017-09-05 18:12:14 +020043.B osmo-ggsn
jjakod1afd812003-07-06 17:43:17 +000044is part of the
Harald Welte632e8432017-09-05 18:12:14 +020045.B OsmoGGSN
jjakod1afd812003-07-06 17:43:17 +000046project, and implements a Gateway GPRS Support Node. It is used by
47mobile operators as the interface between the Internet and the rest of
48the mobile network infrastructure.
49
50The GPRS functionality and protocols has been standardised by the
51Third Generation Partnership Project (3GPP). According to the 3GPP
52specifications a GGSN has two interfaces: The Gn/Gp interface and the
53Gi interface.
54
55The Gn/Gp interface can be seen as the downlink interface of the
56GGSN. It is used for communicating with the Serving GPRS Support Node
57(SGSN) which again interfaces to the radio access network. The Gn/Gp
58interface uses the GPRS tunneling protocol (GTP). User data packets
59(typically IP packets) are tunneled over GTP, which again uses UDP
60over IP.
61
62The other interface can be thought of as the uplink interface, and
63interfaces the GGSN to an external data network. Gi is most often an
64interface to the Internet.
Harald Welte632e8432017-09-05 18:12:14 +020065.B osmo-ggsn
jjakod1afd812003-07-06 17:43:17 +000066uses the
67.B TUN/TAP driver
68for the Gi interface. A tun network interface is established when the
Harald Welte632e8432017-09-05 18:12:14 +020069.B osmo-ggsn
jjakod1afd812003-07-06 17:43:17 +000070is started.
71
Harald Welte632e8432017-09-05 18:12:14 +020072.B osmo-ggsn
jjakod1afd812003-07-06 17:43:17 +000073will accept incoming connections from mobile stations through the
74radio access network and the SGSN. When a connection request is
75received the ggsn will allocate a dynamic IP address for the mobile
76station, and allow the mobile station to access the Gi
77interface. Connections are terminated by either the mobile station or
Holger Hans Peter Freyther9c7fd8e2014-12-04 16:32:37 +010078the SGSN. Runtime errors are reported using the Osmocom logging
79framework.
jjakod1afd812003-07-06 17:43:17 +000080
81Typically
Harald Welte632e8432017-09-05 18:12:14 +020082.B osmo-ggsn
jjakod1afd812003-07-06 17:43:17 +000083will be deployed with two Ethernet interfaces. One for the Gn/Gp
84interface, and one for the Gi interface. Policy routing and firewall
85rules should be used in order to separate Gi traffic from Gn/Gp
86traffic.
87
88.SH OPTIONS
89.TP
90.BI --help
91Print help and exit.
92
93.TP
94.BI --version
95Print version and exit.
96
97.TP
Harald Weltedda21ed2017-08-12 15:07:02 +020098.BI --daemonize
99Run in background as a daemon (default = off)
jjakod1afd812003-07-06 17:43:17 +0000100
101.TP
Harald Weltedda21ed2017-08-12 15:07:02 +0200102.BI --config-file " file"
jjakod1afd812003-07-06 17:43:17 +0000103Read configuration
104.I file
Harald Weltedda21ed2017-08-12 15:07:02 +0200105(default = ./openggsn.cfg)
jjakod1afd812003-07-06 17:43:17 +0000106
107.SH FILES
Harald Welte632e8432017-09-05 18:12:14 +0200108.I ./osmo-ggsn.cfg
jjakod1afd812003-07-06 17:43:17 +0000109.RS
110The configuration file for
Harald Welte632e8432017-09-05 18:12:14 +0200111.B osmo-ggsn.
jjakod1afd812003-07-06 17:43:17 +0000112.RE
Harald Welte632e8432017-09-05 18:12:14 +0200113.I /var/run/osmo-ggsn.pid
jjakod1afd812003-07-06 17:43:17 +0000114.RS
115Process ID file.
116.RE
Harald Welte632e8432017-09-05 18:12:14 +0200117.I /var/lib/osmo-ggsn
jjakod1afd812003-07-06 17:43:17 +0000118.RS
119Directory holding nonvolatile data.
120.RE
121
122.SH BUGS
Harald Welte632e8432017-09-05 18:12:14 +0200123Report all bugs to the OsmoGGSN bug tracking list at
Harald Weltedda21ed2017-08-12 15:07:02 +0200124.I https://osmocom.org/projects/openggsn
jjakod1afd812003-07-06 17:43:17 +0000125
Harald Welte632e8432017-09-05 18:12:14 +0200126.B osmo-ggsn
jjakod1afd812003-07-06 17:43:17 +0000127has very limited management support. Currently both SNMP as well as
128billing mechanisms are missing.
129
130
131.SH "SEE ALSO"
Holger Hans Peter Freyther9c7fd8e2014-12-04 16:32:37 +0100132.BR sgsnemu (8)
jjakod1afd812003-07-06 17:43:17 +0000133
134.SH NOTES
135.LP
136
137Besides the long options documented in this man page
Harald Welte632e8432017-09-05 18:12:14 +0200138.B osmo-ggsn
jjakod1afd812003-07-06 17:43:17 +0000139also accepts a number of short options with the same functionality. Use
Harald Welte632e8432017-09-05 18:12:14 +0200140.B osmo-ggsn --help
jjakod1afd812003-07-06 17:43:17 +0000141for a full list of all the available options.
142
143The TUN/TAP driver is required for proper operation of
Harald Welte632e8432017-09-05 18:12:14 +0200144.B osmo-ggsn.
jjakod1afd812003-07-06 17:43:17 +0000145For linux kernels later than 2.4.7 the TUN/TAP driver is included in the kernel, but typically needs to be loaded manually with
146.B modprobe tun.
147For automatic loading the line
148.B alias char-major-10-200 tun
149can be added to
150.B /etc/modules.conf.
151For other platforms see
152.I http://vtun.sourceforge.net/tun/
153for information on how to install and configure the tun driver.
154
Harald Welte632e8432017-09-05 18:12:14 +0200155.B osmo-ggsn
jjakod1afd812003-07-06 17:43:17 +0000156uses the GPRS Tunneling Protocol (GTP) as specified by the Third
157Generation Partnership Project (3GPP). 3GPP protocols specifications
158can be found at
159.I http://www.3gpp.org
160
161.SH COPYRIGHT
162
163Copyright (C) 2002, 2003 by Mondru AB.
Harald Weltedda21ed2017-08-12 15:07:02 +0200164Copyright (C) 2017 Harald Welte
jjakod1afd812003-07-06 17:43:17 +0000165
166The contents of this file may be used under the terms of the GNU
167General Public License Version 2, provided that the above copyright
168notice and this permission notice is included in all copies or
169substantial portions of the software.
170
171.SH AUTHORS
172Jens Jakobsen <jj@openggsn.org>
Harald Weltedda21ed2017-08-12 15:07:02 +0200173Harald Welte <laforge@gnumonks.org>