OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: gh0st on May 27, 2018, 01:44:45 pm

Title: When changing to Manual outbound NAT rule generation, all rules are wiped!
Post by: gh0st on May 27, 2018, 01:44:45 pm
Hi!

Using OVPN as our VPN provider, and are now setting it up at another location. The problem is that when changing to Manual outbound NAT rule generation (no automatic rules are being generated), all rules are wiped.

Also, the checkbox to clone them is gone from prev releases!

How do I solve this now?
Title: Re: When changing to Manual outbound NAT rule generation, all rules are wiped!
Post by: gh0st on May 27, 2018, 08:02:52 pm
Checked the firewall at home, and there I can find the checkboxes! But not on a freshly installed system over at work.  ???

Title: Re: When changing to Manual outbound NAT rule generation, all rules are wiped!
Post by: franco on May 28, 2018, 10:32:57 am
There should always be a configuration history under System: Configuration: History to restore from... :)

If you know how to reproduce the problem please let me know.


Cheers,
Franco
Title: Re: When changing to Manual outbound NAT rule generation, all rules are wiped!
Post by: Adam.P on August 17, 2018, 02:43:38 pm
I noticed this same problem today. Fresh install of 18.1, updated, then switched to manual outbound rule generation and *poof* all the rules are gone. In past versions it converted the automatic rules to manual rules that can be edited. Can we get this feature back?
Title: Re: When changing to Manual outbound NAT rule generation, all rules are wiped!
Post by: Adam.P on August 20, 2018, 02:24:32 pm
If you know how to reproduce the problem please let me know.

Franco, how to reproduce the problem is in my post above. Is that normal behavior?
Title: Re: When changing to Manual outbound NAT rule generation, all rules are wiped!
Post by: Adam.P on August 23, 2018, 02:16:31 pm
Since I can't seem to get a response, maybe pfSense would be a better fit. The forum seems to be much more active and helpful over there.
Title: Re: When changing to Manual outbound NAT rule generation, all rules are wiped!
Post by: marjohn56 on August 23, 2018, 02:22:38 pm
Franco is on holiday. He'll be at the beginning of September.
Title: Re: When changing to Manual outbound NAT rule generation, all rules are wiped!
Post by: franco on September 03, 2018, 04:27:14 pm
I'll take a look in exchange for a ticket:

https://github.com/opnsense/core/issues


Cheers,
Franco
Title: Re: When changing to Manual outbound NAT rule generation, all rules are wiped!
Post by: Adam.P on September 06, 2018, 04:49:11 pm
I'll take a look in exchange for a ticket:

https://github.com/opnsense/core/issues


Cheers,
Franco

Thank you, Franco. I have created an issue on Github.
Title: Re: When changing to Manual outbound NAT rule generation, all rules are wiped!
Post by: improwise on September 23, 2018, 04:03:23 pm
Can confirm this problem(s), happened to me on a fresh installation also.
Title: Re: When changing to Manual outbound NAT rule generation, all rules are wiped!
Post by: franco on September 24, 2018, 08:57:42 am
I've looked at it and I have to "NAK" the "all rules are wiped" part. If we talk about "all" = "all automatic" then that's a yes, but it was a bugfix because users reported an endless duplication of automatic rules. Your user-defined rules will not be tampered with.

Automatic rules are not for editing. That's why we have hybrid *and* manual mode so all combinations are possible.


Cheers,
Franco