en:bpi-r2:hwnat
Hardware-NAT
- available in LEDE forum
- seems to work with 4.14, Test: https://github.com/frank-w/BPI-R2-4.14/tree/4.14-hnat forum
- no support in 4.4.70 forum
Current implementation works only between lan and wan (not wifi or other interfaces)
at least you have to setup nat on wan:
ipt=/sbin/iptables if_wan=wan ${ipt} -t nat -F ${ipt} -t nat -A POSTROUTING -o ${if_wan} -j MASQUERADE
and load hnat-module:
modprobe mtkhnat
Check if it is working with
#via debugfs (working shows BIND-state) cat /sys/kernel/debug/hnat/all_entry #via interrupts (counter does not increase after a while (download)) cat /proc/interrupts | grep 'ethernet'
en/bpi-r2/hwnat.txt · Last modified: 2023/06/08 17:06 by 127.0.0.1