User Tools

Site Tools



en:bpi-r2:hwnat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:bpi-r2:hwnat [2018/07/19 21:38]
frank
en:bpi-r2:hwnat [2020/08/29 17:14] (current)
Line 6: Line 6:
  
 Current implementation works only between lan and wan (not 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:
 +<code>
 +ipt=/sbin/iptables
 +if_wan=wan
 +${ipt} -t nat -F
 +${ipt} -t nat -A POSTROUTING -o ${if_wan} -j MASQUERADE
 +</code>
 +
 +and load hnat-module:
 +
 +  modprobe mtkhnat
  
 Check if it is working with Check if it is working with
en/bpi-r2/hwnat.1532029137.txt.gz · Last modified: 2020/08/29 17:14 (external edit)