SeattleMeshnet / meshbox

The Hyperboria peering device
https://github.com/hyperboria/cjdns
GNU General Public License v3.0
141 stars 25 forks source link

NAT66 #28

Open ghost opened 9 years ago

ghost commented 9 years ago

We've kept our goals modest, but what this is paying for is the development work neccesary to get cjdns to build on OpenWRT and get NAT66/MAP66 to work on OpenWRT in conjunction with cjdns.

enigmagroup commented 9 years ago

Not sure if I can help you with this, but here's our fw-rule for NAT66: https://github.com/enigmagroup/enigmabox-openwrt/blob/master/cfengine-promises/files/root/system_network/templates/rebuild-iptables.mustache#L230

Router advertisement: https://github.com/enigmagroup/enigmabox-openwrt/blob/master/cfengine-promises/files/root/system_base/templates/config-radvd.raspi

Oops, I see this has been documented already in more detail: https://github.com/cjdelisle/cjdns/blob/master/doc/nat-gateway.md

ghost commented 9 years ago

This is pending patches in OpenWrt: https://lists.openwrt.org/pipermail/openwrt-devel/2015-May/032899.html