This is an OpenWRT feed with a Linux kernel module implementing flexible NAT46.
With Barrier Breaker (trunk), add the following line to feeds.conf.default:
src-git nat46 https://github.com/ayourtch/nat46.git
then issue:
./scripts/feeds update -a
./scripts/feeds install -a -p nat46
This will cause the following to appear in the "make menuconfig":
- Kernel modules -> Network Support -> kmod-nat46
The management of the NAT46 interfaces is done via the /proc/net/nat46/control file.
For more information about the module, take a look at the nat46/modules/README file.