forked from NICMx/Jool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
23 lines (19 loc) · 927 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Ubuntu requirements:
In ubuntu, you will require the following packages: iptables-dev, libssl-dev
Also, it may sound obvious, but make sure you have both the image and the headers
of the kernel updated to the same 2.6.38-#-server version, at least.
to install:
compile the userspace library (make libxt_nat64.so)
compile the module library (make)
copy the userspace library to the appropiate directory (cp libxt_nat64.so ....)
*optional* ensure all the dependencies are up (modprobe ipv6, ip_tables, nf_conntrack, nf_conntrack_ipv4)
install the module (insmod libxt_nat64.ko)
*optional* check that the module is installed with lsmod
to remove:
clean the ip6tables (ip6tables -t mangle --flush)
remove the module (rmmod libxt_nat64.ko)
Userspace library:
To compile: make libxt_nat64.so
copy library to: /usr/lib/iptables or /usr/lib/xtables
In Ubuntu 11.04+: /lib/xtables
** Tested in Ubuntu and Archlinux.