openwrt/nat64: enable jool

This commit is contained in:
Nico Schottelius 2024-07-26 10:02:47 +02:00
parent b8829f96ac
commit 310de6a4ed

View file

@ -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