This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:bpi-r2:hwnat [2018/07/19 20:53] frank |
en:bpi-r2:hwnat [2018/07/20 11:28] frank |
||
---|---|---|---|
Line 5: | Line 5: | ||
* no support in 4.4.70 [[http:// | * no support in 4.4.70 [[http:// | ||
- | Current implementation works only between lan and wan (noto wifi or other interfaces) | + | Current implementation works only between lan and wan (not wifi or other interfaces) |
+ | |||
+ | at least you have to setup nat on wan: | ||
+ | < | ||
+ | ipt=/ | ||
+ | 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 | Check if it is working with | ||
Line 11: | Line 23: | ||
#via debugfs (working shows BIND-state) | #via debugfs (working shows BIND-state) | ||
cat / | cat / | ||
- | #via interrupts (counter does not increase after a while (download) | + | #via interrupts (counter does not increase after a while (download)) |
cat / | cat / | ||
</ | </ | ||
[[https:// | [[https:// |