Project

General

Profile

Managing OpenWRT » History » Version 2

ll nu, 07/03/2020 11:49 AM

1 1 Nico Schottelius
h1. Managing OpenWRT
2
3
h2. Installing and configuring Jool
4
5
<pre>
6
opkg install kmod-jool
7
opkg install jool-tools
8 2 ll nu
9
# Load the kernel module
10
modprobe jool_siit
11
12
# The range which will be the target for the 2nd NAT (if needed to reach a v4 ip)
13
jool_siit -6 2a0a:e5c0:2:10::/96
14
15
# Pick a v6 range to translate TO and a v4 range to translate from
16
jool_siit -e -a 2a0a:e5c0:17:1::/96 192.168.61.0/24
17
18
# Accept Router Advertisements to keep the default address
19
sysctl -w net.ipv6.conf.all.accept_ra=2
20
sysctl -w net.ipv6.conf.default.accept_ra=2
21
sysctl -w net.ipv6.conf.eth0.accept_ra=2
22
23 1 Nico Schottelius
</pre>