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.dhcpv6
|
||||||
uci delete dhcp.lan.ra
|
uci delete dhcp.lan.ra
|
||||||
uci set dhcp.lan.ignore=1
|
uci set dhcp.lan.ignore=1
|
||||||
|
uci commit
|
||||||
|
|
||||||
# Do something wireless (?)
|
# TODO: Do something wireless (?), maybe disable?
|
||||||
# disable?
|
|
||||||
|
|
||||||
echo "Setting up bird ..."
|
echo "Setting up bird ..."
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ BBB
|
||||||
done
|
done
|
||||||
|
|
||||||
# TODO: configure jool
|
# TODO: configure jool
|
||||||
cat >> /etc/jool/jool-nat64.conf.json <<BBB
|
cat > /etc/jool/jool-nat64.conf.json <<BBB
|
||||||
{
|
{
|
||||||
"comment": "NAT64 by cdist",
|
"comment": "NAT64 by cdist",
|
||||||
|
|
||||||
|
@ -125,6 +125,11 @@ cat >> /etc/jool/jool-nat64.conf.json <<BBB
|
||||||
}
|
}
|
||||||
BBB
|
BBB
|
||||||
|
|
||||||
|
uci set jool.general.enabled=1
|
||||||
|
uci set jool.nat64.enabled=1
|
||||||
|
uci commit
|
||||||
|
|
||||||
|
|
||||||
# start jool
|
# start jool
|
||||||
/etc/init.d/jool restart
|
/etc/init.d/jool restart
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue