Bug 12479

Summary: Web GUI: Copying a NAT Firewall Rule displays incorrect source port
Product: IPFire Reporter: Bug Mann <opensysman>
Component: ---Assignee: Alexander Marx <alexander.marx>
Status: CLOSED FIXED QA Contact:
Severity: Minor Usability    
Priority: - Unknown - CC: larsen007, michael.tremer, peter.mueller, peter.mueller
Version: 2   
Hardware: all   
OS: All   
Bug Depends on:    
Bug Blocks: 12278    
Attachments: Web GUI: copied firewall rule using NAT, label error

Description Bug Mann 2020-09-04 12:47:20 UTC
Created attachment 775 [details]
Web GUI: copied firewall rule using NAT, label error

Copy a firewall rule that uses Destination NAT (and Protocol Preset Service).
Edit the copied rule to use a different preset service.
Firewall Destination label still shows original source port, not new port.
Screen grab attached.

Thanks
Comment 1 Larsen 2021-03-02 17:18:45 UTC
I can confirm this bug.

To correct the problem, you have to switch "Protocol" from "-Preset-" to TCP or anything else and save. After that, set to "-Preset-" again and IPFire will use the correct external port.
Comment 2 Alexander Marx 2021-03-23 17:07:27 UTC
This one is fixed.
https://patchwork.ipfire.org/patch/3952/
Comment 3 Peter Müller 2021-03-23 17:27:30 UTC
First: Thank you for working on this, and sorry for my tardy reply.

Second: According to https://wiki.ipfire.org/devel/bugzilla/workflow, this one is not fixed yet, but MODIFIED. Resetting state...