openwrt-masq6
openwrt-masq6 copied to clipboard
script not started automatically on openwrt 18
Hi,
I've tried to follow the guide here to enable ipv6 nat, so I've used your script. First of all the one on the wiki is a bit outdated and does not work (can't find the required postrouting chain). The new one however executes correctly nat6: Could not find table="zone_wan_postrouting", but yolo so adding to POSTROUTING directly. and nat6: Done setting up nat6 for zone="wan" on devices: eth0
But, starts only when I run manually, not automatically when I reload the router. The script placed at /etc/firewall.d/with_reload/90-nat6.fw and of course changed to executable
I suppose we need something like this in /etc/config/firewall
config include 'nat6' option type 'script' option path '/etc/firewall.d/with_reload/90-nat6.fw' option family 'any' option reload '1'