How can I set my server ip to static

Posted November 17, 2018 961 views

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

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.

Submit an Answer
1 answer

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.