blob: 2f4bce569cd9096289a1bc0d1e2ae1ef744b5d42 [file] [log] [blame]
Harald Welte632e8432017-09-05 18:12:14 +02001OsmoGGSN/FreeBSD notes
jjako49a21502004-01-28 10:29:10 +00002
3FreeBSD support is experimental, please test and report bugs. The FreeBSD port is
4tested on FreeBSD 4.x, but may also work on 5.x series.
5
61. Compiling
7
8You will need GNU make installed, standard BSD make will not work.
9Everything should be straight-forward, run ./configure then gmake.
10
112. Kernel tuning
12
13Your kernel needs to include tun driver (GENERIC kernel does), make sure your
14kernel config file contains the line
15
16pseudo-device tun
17
18or load the tun kernel module manually by issuing "kldload if_tun" as root.
19OpenGGSN doesn't try to load the module itself right now.
20
21Also make sure your kernel has IP Forwarding enabled (it is not by default).
22Add the line
23
24gateway_enable=yes
25
26to your /etc/rc.conf or manually issue "sysctl net.inet.ip.forwarding=1"
27
283. Known problems
29
30After ggsn is started, you have to manually add the route for your address pool:
31
32route add 192.168.0.0 -netmask 255.255.255.0 -iface tun0
33
34--
35Pavel Andreev <pavel.andreev@hp.com>
36