OPNsense Forum

English Forums => 25.7, 25.10 Series => Topic started by: Hardware_Software on September 17, 2025, 05:47:56 PM

Title: Easy method for forcing renewal of the public IP? - Suggestion of a button
Post by: Hardware_Software on September 17, 2025, 05:47:56 PM
Sometimes is interesting to change the public IP address for various reasons like testing.

Now, I have to stop services and start again. I have not found another easier method.
Sometimes, after restarting services it does not fully work and I have to restart OPNsense anyway.

Maybe I have not found it, but it would be very helpful to have a button that forces the renewal of the public IP.
Title: Re: Easy method for forcing renewal of the public IP? - Suggestion of a button
Post by: Stormscape on September 18, 2025, 08:39:41 AM
I'm not sure how you expect OPNsense to be able to determine the method that your ISP allocates public IPs.
Title: Re: Easy method for forcing renewal of the public IP? - Suggestion of a button
Post by: meyergru on September 18, 2025, 08:54:21 AM
The next best thing you can do is to toggle the WAN interface to disabled and then to enabled again. If you want that, make a feature request on Github, but check if there is (or was) one before.
Title: Re: Easy method for forcing renewal of the public IP? - Suggestion of a button
Post by: Patrick M. Hausen on September 18, 2025, 09:05:49 AM
Or just use the existing "reload" button?

Interfaces > Overview - see screen shot.
Title: Re: Easy method for forcing renewal of the public IP? - Suggestion of a button
Post by: amichel on September 18, 2025, 09:27:53 AM
I am using a low level option. Have a 5G connection with the ISP Modem in bridge mode. I am using a WLAN Power plug with Tasmota and can then programmatically send a web request to it to turn the Modem on and off (had to refer to IT Crowd) and then get a new IP.
Title: Re: Easy method for forcing renewal of the public IP? - Suggestion of a button
Post by: franco on September 18, 2025, 10:09:26 AM
Quote from: Patrick M. Hausen on September 18, 2025, 09:05:49 AMOr just use the existing "reload" button?

Interfaces > Overview - see screen shot.

Top answer! Came here to say that.


Cheers,
Franco