mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-ggsn.git
synced 2025-10-23 00:12:08 +00:00
Osmocom has maintained this program since about 7 years now, while the original author / copyright holder has completely disappeared. With the introduction of Osmocom-style CTRL and VTY interfaces, the way how the program is used and configured has substantially changed. In order to avoid confusion in terms of configuration file format etc, let's rename it to OsmoGGSN. Change-Id: I2da30f7d4828e185bfac1a4e2d8414b01cbe4f9d
37 lines
988 B
Plaintext
37 lines
988 B
Plaintext
OsmoGGSN/FreeBSD notes
|
|
|
|
FreeBSD support is experimental, please test and report bugs. The FreeBSD port is
|
|
tested on FreeBSD 4.x, but may also work on 5.x series.
|
|
|
|
1. Compiling
|
|
|
|
You will need GNU make installed, standard BSD make will not work.
|
|
Everything should be straight-forward, run ./configure then gmake.
|
|
|
|
2. Kernel tuning
|
|
|
|
Your kernel needs to include tun driver (GENERIC kernel does), make sure your
|
|
kernel config file contains the line
|
|
|
|
pseudo-device tun
|
|
|
|
or load the tun kernel module manually by issuing "kldload if_tun" as root.
|
|
OpenGGSN doesn't try to load the module itself right now.
|
|
|
|
Also make sure your kernel has IP Forwarding enabled (it is not by default).
|
|
Add the line
|
|
|
|
gateway_enable=yes
|
|
|
|
to your /etc/rc.conf or manually issue "sysctl net.inet.ip.forwarding=1"
|
|
|
|
3. Known problems
|
|
|
|
After ggsn is started, you have to manually add the route for your address pool:
|
|
|
|
route add 192.168.0.0 -netmask 255.255.255.0 -iface tun0
|
|
|
|
--
|
|
Pavel Andreev <pavel.andreev@hp.com>
|
|
|