blob: 89dcb61b65a0b9df09a09e6ceb04851b288831dd [file] [log] [blame]
jjakod1afd812003-07-06 17:43:17 +00001
2.\" * OpenGGSN - Gateway GPRS Support Node
3.\" * 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.\" *
15.\" Manual page for ggsn
16.\" SH section heading
17.\" SS subsection heading
18.\" LP paragraph
19.\" IP indented paragraph
20.\" TP hanging label
21
22.TH ggsn 8 "July 2003"
23.SH NAME
24ggsn \- Gateway GPRS Support Node.
25.SH SYNOPSIS
26.B ggsn
27\-\-help
28
29.B ggsn
30\-\-version
31
32.B ggsn
33[
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
43.B ggsn
44is part of the
45.B OpenGGSN
46project, 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.
65.B ggsn
66uses the
67.B TUN/TAP driver
68for the Gi interface. A tun network interface is established when the
69.B ggsn
70is started.
71
72.B ggsn
73will 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
82.B ggsn
83will 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 Weltedda21ed2017-08-12 15:07:02 +0200108.I ./openggsn.cfg
jjakod1afd812003-07-06 17:43:17 +0000109.RS
110The configuration file for
111.B ggsn.
112.RE
113.I /var/run/ggsn.pid
114.RS
115Process ID file.
116.RE
117.I /var/lib/ggsn
118.RS
119Directory holding nonvolatile data.
120.RE
121
122.SH BUGS
123Report all bugs to the OpenGGSN 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
126.B ggsn
127has 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
138.B ggsn
139also accepts a number of short options with the same functionality. Use
140.B ggsn --help
141for a full list of all the available options.
142
143The TUN/TAP driver is required for proper operation of
144.B ggsn.
145For 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
155.B ggsn
156uses 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>