OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Bug: Renaming Aliases and NAT
« previous next »
  • Print
Pages: [1]

Author Topic: Bug: Renaming Aliases and NAT  (Read 2798 times)

GaardenZwerch

  • Full Member
  • ***
  • Posts: 102
  • Karma: 2
    • View Profile
Bug: Renaming Aliases and NAT
« on: July 17, 2018, 03:25:24 pm »
Hi,
I have just discovered that when you edit an Alias and change its name, the renaming does not happen in (outgoing) NAT rules, leaving them dangling.

Bug?

Thanks
« Last Edit: July 18, 2018, 11:01:37 am by GaardenZwerch »
Logged

JasMan

  • Full Member
  • ***
  • Posts: 151
  • Karma: 7
    • View Profile
Re: Bug: Renaming Aliases and NAT
« Reply #1 on: July 18, 2018, 12:43:26 pm »
I've noticed this behaviour too.
But when the rules are reloaded the new name of the alias should appera. Have you tried this?
Logged
Duck, Duck, Duck, Duck, Duck, Duck, Duck, Duck, Goose

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13699
  • Karma: 1178
    • View Profile
Re: Bug: Renaming Aliases and NAT
« Reply #2 on: July 18, 2018, 11:41:29 pm »
Could it be this one? https://github.com/opnsense/core/issues/2470


Cheers,
Franco
Logged

GaardenZwerch

  • Full Member
  • ***
  • Posts: 102
  • Karma: 2
    • View Profile
Re: Bug: Renaming Aliases and NAT
« Reply #3 on: July 19, 2018, 07:49:22 am »
@Franco: Yes, it looks a lot like this.
@JasMan: I'm not sure, the firewall has even been rebooted since I renamed the alias.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13699
  • Karma: 1178
    • View Profile
Re: Bug: Renaming Aliases and NAT
« Reply #4 on: July 19, 2018, 09:52:51 am »
Ok, the fix is on hold for now because the alias pages are undergoing a major change for MVC/API support. It will be fixed in that capacity in an early 18.7.x, but not in the way that it is currently integrated unless somebody wants to propose a fix here via PR of course. :)


Cheers,
Franco
Logged

GaardenZwerch

  • Full Member
  • ***
  • Posts: 102
  • Karma: 2
    • View Profile
Re: Bug: Renaming Aliases and NAT
« Reply #5 on: July 19, 2018, 11:04:20 am »
Thanks!
Regarding MVC/API, is there any doc for this? Even incomplete....
I am doing a POC with opnsense at the moment on a couple of boxes, and if it covers all my needs I will be implementing it on 80 sites.
So anything that will prevent me form having to create/maintain the same aliases over and over through the gui (which is nice) will be hugely appreciated.

Thanks again
Logged

marjohn56

  • Hero Member
  • *****
  • Posts: 1676
  • Karma: 168
    • View Profile
Re: Bug: Renaming Aliases and NAT
« Reply #6 on: July 19, 2018, 11:26:13 am »
@GaardenZwerch - You could just import the Aliases only from a known good config using the backup/restore feature. Would certainly save you having to re-enter them for each device.
Logged
OPNsense 21.7 - Qotom Q355G4 - ISP - Community Fibre 1Gbps.

Team Rebellion Member - If we've helped you remember to applaud

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Bug: Renaming Aliases and NAT
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2