Bug #3778
closedDestination port range not displayed when it's an associated NAT rule and "other" ports
100%
Description
firewall_rules_edit.php doesn't display Destination Port Range when it's an associated NAT rule and From and To are "other" (edit_disabled).
I created a NAT Port Forward for a range of FTP data ports and while the port range 65500-65535 is displayed on the editable firewall_nat_edit.php page it's not displayed on the ghosted/locked firewall_rules_edit.php.
The Destination Address is displayed just fine.
Updated by Renato Botelho about 10 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset 0e2eaa1bfd43b097597b71a1d6e91751fddbe714.
Updated by Renato Botelho about 10 years ago
Applied in changeset e35ec763337b9c3430391bdc400daf6c7b7df84b.
Updated by Patrik Lundquist about 10 years ago
I copied the updated firewall_rules_edit.js to /usr/local/www/javascript/firewall_rules_edit/ on the fw, restarted webConfigurator via SSH, and logged in on the pfSense web again.
I still don't see the ports. Do I have to do something else? I'd rather not reboot the firewall.
Updated by Renato Botelho about 10 years ago
Patrik Lundquist wrote:
I copied the updated firewall_rules_edit.js to /usr/local/www/javascript/firewall_rules_edit/ on the fw, restarted webConfigurator via SSH, and logged in on the pfSense web again.
I still don't see the ports. Do I have to do something else? I'd rather not reboot the firewall.
Maybe you need to clean your browser's cache just to be sure the new .js file is used.
Updated by Patrik Lundquist about 10 years ago
Found the problem. I renamed the old file to firewall_rules_edit.js.bak but didn't realize that both script files would then be included by firewall_rules_edit.php.
<script type="text/javascript" src="/javascript/firewall_rules_edit/firewall_rules_edit.js"></script>
<script type="text/javascript" src="/javascript/firewall_rules_edit/firewall_rules_edit.js.bak"></script>
It works after I removed the backup file.
Updated by Renato Botelho about 10 years ago
- Status changed from Feedback to Resolved