openwrt-masq6 icon indicating copy to clipboard operation
openwrt-masq6 copied to clipboard

script not started automatically on openwrt 18

Open Vladx71 opened this issue 6 years ago • 1 comments

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

Vladx71 avatar Oct 23 '18 11:10 Vladx71

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'

Vladx71 avatar Oct 23 '18 11:10 Vladx71