110-ffho-net-allow-ipv6-spaces 376 B

123456789
  1. siteConfig = require("gluon.site_config")
  2. rule ('FFHO_NET_ONLY -p IPv6 --ip6-src fe80::/10 -j RETURN')
  3. rule ('FFHO_NET_ONLY -p IPv6 --ip6-dst ff00::/8 -j RETURN')
  4. rule ('FFHO_NET_ONLY -p IPv6 --ip6-src ' .. siteConfig.prefix6 .. ' -j RETURN')
  5. for _, prefix in ipairs(siteConfig.additional_prefix6) do
  6. rule ('FFHO_NET_ONLY -p IPv6 --ip6-src ' .. prefix .. ' -j RETURN')
  7. end