Hello, i have problem with auto reset dynamic IP on the server

I have a pterodactyl application on my personal server, and I’m using port forwarding through a dedicated IP address from a dynamic IP (which I have on my Wi-Fi), but the problem is that when I restart the server, the dynamic IP sometimes changes. Is there a way I can add a script or something else to automatically update the dynamic IP in the files I need?

You can set an IP reservation on the router (depending on the model)

2 Likes

Take a look at this script. It will check your ip address and change it in the pterodactyl config files. Change to your needs

1 Like