Skip to content
  1. Apr 05, 2024
    • Paul Donald's avatar
      luci-app-firewall: Add 'any' choice for SNAT 'family' option · 4ca87f65
      Paul Donald authored
      
      
      If one sets a SNAT rule via the GUI as 'automatic', the
      'family' remains empty. In fw4.uc code, this is interpreted as:
      
      /* default to IPv4 only for backwards compatibility,
       unless an explicit family any was configured */
      
      'any' is handled by fw4 as IPv4+6.
      
      Also prevent 'any' from triggering a validation error (non-SNAT targets
      hide 'snat_ip' which remains empty, and triggered an error).
      
      Signed-off-by: default avatarPaul Donald <newtwen+github@gmail.com>
      4ca87f65
  2. Jun 10, 2023
  3. Apr 05, 2023
    • Dirk Brenken's avatar
      luci-app-firewall: fix the IPv6 forwards/snats view · 148759a5
      Dirk Brenken authored
      * corrects the view as IPv4 and IPv6 for rules where the family is 'any' and the IP not set (this fixes #9c55500f
      
      ), e.g. a forward rule like that:
      
      config redirect 'adblock_lan53'
      	option name 'Adblock DNS (lan, 53)'
      	option src 'lan'
      	option proto 'tcp udp'
      	option src_dport '53'
      	option dest_port '53'
      	option target 'DNAT'
      	option family 'any'
      
      Signed-off-by: default avatarDirk Brenken <dev@brenken.org>
      148759a5
  4. Mar 30, 2023
  5. Mar 29, 2023
  6. Mar 15, 2023
  7. Jan 06, 2022
  8. Nov 11, 2021
  9. Nov 10, 2021
  10. Aug 04, 2021
  11. Mar 15, 2021
  12. Mar 01, 2021
  13. Apr 03, 2020
  14. Feb 22, 2020
  15. Jan 19, 2020
  16. Jan 16, 2020
  17. Jan 15, 2020