Skip to content
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

Feature request - Reset all states if WAN IP Address changes #2414

Closed
JosQuelqu1 opened this issue May 18, 2018 · 8 comments
Closed

Feature request - Reset all states if WAN IP Address changes #2414

JosQuelqu1 opened this issue May 18, 2018 · 8 comments
Assignees
Labels
feature Adding new functionality
Milestone

Comments

@JosQuelqu1
Copy link

Hi,

Can't find this feature on OPNsense. I need this to pull the plug on pfSense...

On pfSense:

Reset All States
Reset all states if WAN IP Address changes
This option resets all states when a WAN IP Address changes instead of only states associated with the previous IP Address.

Thank you!

@fichtner
Copy link
Member

@JosQuelqu1 let's see what we can do :)

@fichtner fichtner self-assigned this May 18, 2018
@fichtner fichtner added the feature Adding new functionality label May 18, 2018
@fichtner fichtner added this to the 18.7 milestone May 18, 2018
@fichtner
Copy link
Member

The implementation is a bit optimistic and only works for DHCP IPv4, not particularly related to "WAN".

Although the functionality is clear, can you state your use case for reference? Maybe we can find a better spot for implementation.

fichtner added a commit that referenced this issue May 18, 2018
@JosQuelqu1
Copy link
Author

JosQuelqu1 commented May 18, 2018

It's for the VoIP guy here at the office. When the WAN IP change it cause problem with the VoIP service.

He sent me this. It's the exact issue: https://redmine.pfsense.org/issues/1629

OPNsense is installed on an APU2.

@topaDev
Copy link

topaDev commented May 20, 2018

Hi,
experiencing the same problem with VoIP, just came across this workaround (search for "resetstates.sh" script):
https://bauschp.wordpress.com/asterisk-projects/asterisk_provider_t_kom/

@fichtner
Copy link
Member

Please try this patch c5b9f67 via:

# opnsense-patch c5b9f672

Thanks,
Franco

@topaDev
Copy link

topaDev commented May 20, 2018

Thank you Franco, it works like a charm.

@fichtner
Copy link
Member

Ok, great, will ship this in 18.1.9. Thanks for testing!

@JosQuelqu1
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding new functionality
Development

No branches or pull requests

3 participants