openwrt/nat64: enable jool
This commit is contained in:
parent
b8829f96ac
commit
310de6a4ed
1 changed files with 8 additions and 3 deletions
|
@ -63,9 +63,9 @@ uci delete dhcp.lan.dhcpv4
|
|||
uci delete dhcp.lan.dhcpv6
|
||||
uci delete dhcp.lan.ra
|
||||
uci set dhcp.lan.ignore=1
|
||||
uci commit
|
||||
|
||||
# Do something wireless (?)
|
||||
# disable?
|
||||
# TODO: Do something wireless (?), maybe disable?
|
||||
|
||||
echo "Setting up bird ..."
|
||||
|
||||
|
@ -94,7 +94,7 @@ BBB
|
|||
done
|
||||
|
||||
# TODO: configure jool
|
||||
cat >> /etc/jool/jool-nat64.conf.json <<BBB
|
||||
cat > /etc/jool/jool-nat64.conf.json <<BBB
|
||||
{
|
||||
"comment": "NAT64 by cdist",
|
||||
|
||||
|
@ -125,6 +125,11 @@ cat >> /etc/jool/jool-nat64.conf.json <<BBB
|
|||
}
|
||||
BBB
|
||||
|
||||
uci set jool.general.enabled=1
|
||||
uci set jool.nat64.enabled=1
|
||||
uci commit
|
||||
|
||||
|
||||
# start jool
|
||||
/etc/init.d/jool restart
|
||||
|
||||
|
|
Loading…
Reference in a new issue