How can I set my server ip to static

I deployed a VPN charging script on my CentOS. According to my server’s ip authorization, I will change every time I check my ip, and these ips are not my server’s ip, which makes me unable to complete the authorization. How to set it up, thank you


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey friend,

What IPs are being seen on the other side? Your server IP won’t change, so it would be odd that the IP is changing from the perspective of the end point, at least in any typical configuration.