ayourtch / nat46

OpenWRT feed with stateless NAT46 kernel module
34 stars 28 forks source link

How do I configure nat46 to make it work? #38

Open KeenoHao opened 1 year ago

KeenoHao commented 1 year ago

I am trying using the nat46 kernel module to deploy a nat64 like tayga but don't have the experience to read the sources to know how to do it right.

I already try use the steps into manual and search Google for example but don't find any.

I can " add nat64" interface but can't make it work.

Can you write a step by step how to do it or perhaps examples how to do it.

i am using the openwrt 21.02.

Thanks for your time.

ayourtch commented 1 year ago

The nat46 module is to be primarily used as part of MAP-T transition mechanism (which is configured via OpenWRT), the rest of the uses are mostly incidental and I am not sure if they will work there. Openwrt uses some very specific routing setup which may or may not work. So if it doesn’t work, I would advise you to use tayga, it’s a much more well established way to do it.

Gowee commented 3 weeks ago

i am using the openwrt 21.02.

There is a 464xlat package which provides a proto to be configured via uci. Check /lib/netifd/proto/464xlat.sh for available params. (I also failed to make the whole thing work, though. So I am using tayga, of which the performance is not decent.)