URL Table Aliases Ports
-
Hi,
When I try to add an "URL Table Alias" for a port based listI get the following error:
PHP ERROR: Type: 1, File: /etc/inc/filter.inc, Line: 1788, Message: Uncaught TypeError: Unsupported operand types: string + int in /etc/inc/filter.inc:1788 Stack trace: #0 /etc/inc/filter.inc(2854): filter_generate_reflection_proxy(Array, '', Array, 'any', 'XX.XX.XX.XX...', 19002, Array) #1 /etc/inc/filter.inc(356): filter_nat_rules_generate() #2 /etc/rc.filter_configure_sync(32): filter_configure_sync() #3 {main} thrown @ 2025-03-11 16:15:09
I referenced to the doc.
I also checked the source code of the filter.incif (is_ipaddr($FilterIflist[$natif]['ip'])) { $dstaddr = $FilterIflist[$natif]['ip']; } else { return ""; }
It does return an empty string. It looks like the filter_generate_reflection_proxy does handle port list the same as IP lists?
When I disabled "NAT reflection" in my NAT rule the error disappeared. Is this a bug which needs to be reported to redmine or am I doing something wrong?Kind regards
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.