Report this

What is the reason for this report?

How can I set my server ip to static

Posted on November 17, 2018

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



This textbox defaults to using Markdown to format your 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.

Jarland

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.