-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editing NAT rules vanishes aliases #368
Comments
|
Hi Frank, There are new versions available for (as good as) all firewall related pages, but to be honest, I can't find a direct reason why they would be flushed in the current version so I can't be 100% sure we solved this one as well. The application flow in a lot of the old pages was quite messy, that's why we decided to do some thorough cleanup on the old front-end code as well for some areas, like ipsec, openvpn and firewall. Which should result in code which is easier to manage. Regards, Ad |
|
Oh well, I guess applying only selected commits should be considered harmful. I've now also applied your updates to Nightly builds/images would make it easier to test fixes. |
|
I am experiencing this on a clean install of 15.7.11 (which is the latest "stable" version I can find). I am still working on reproducing but this is the second time I have lost all port and ip aliases after editing Firewall NAT, Rules and virtual IPs. Update: Just re-entered all aliases, edited the description of an outgoing NAT rule and lost them all again. |
|
15.7.12 is not going to have the new pages just yet, so still worth looking into. |
|
As a side note, aliases should still be in the backups, shouldn't they? |
|
Excuse my ignorance, but what backups? |
|
@fraenki Good to know, that will save me a lot of hassle -- thanks. |
|
Pages replaced. |
I've just updated from OPNsense 15.7.10-amd64 to 15.7.11. Now if I make changes to the outbound NAT fules (firewall_nat_out.php) ALL aliases will be vanished (firewall_aliases.php). I have verified that they are actually removed from config.xml.
I wasn't able to find any logs and the crash reporter didn't report a issue. Anything I could do to provide useful debug information? The problem is 100% reproduceable.
For the records, I've made a few changes to the system by applying AdSchellevis ipsec-related fixes (www/vpn_*, etc/inc/vpn.inc, etc/inc/vpn.inc). Editing IPsec configuration does NOT vanish aliases.
The text was updated successfully, but these errors were encountered: