Skip to content

Commit 49a2150

Browse files
author
jjako
committed
Added README.FreeBSD
1 parent f020f1e commit 49a2150

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

README.FreeBSD

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

0 commit comments

Comments
 (0)