How to change server interface (eth0) IP

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
coreyoli16
OpenVpn Newbie
Posts: 2
Joined: Sat Feb 18, 2023 6:04 pm

How to change server interface (eth0) IP

Post by coreyoli16 » Sat Feb 18, 2023 6:08 pm

Good afternoon,

I've been at this a while and can't find a way to do this.. I've deployed the OVF (ova) of OpenVPN Access Server. It's default to dynamic IP which is fine, however I cannot find a way to change to it static and set an IP... The only thing I can change in configuation/network settings is "Hostname/IP address" but it doesn't seem to be changing the interface address and still doesn't respond on the IP I am setting there....?

Am I missing something obvious??

I've also tried ip addr adr to add the correct IP and then ip addr del to remove the old one, and it reverts...

Thanks,

-Corey

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: How to change server interface (eth0) IP

Post by openvpn_inc » Sat Feb 18, 2023 6:14 pm

Hey,

Check this video I made a while back for this particular case;
https://openvpn.net/linux-video-tutoria ... ress-esxi/

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

coreyoli16
OpenVpn Newbie
Posts: 2
Joined: Sat Feb 18, 2023 6:04 pm

Re: How to change server interface (eth0) IP

Post by coreyoli16 » Sat Feb 18, 2023 6:30 pm

Perfect, this worked! Not sure why I didn't think about netplan... I kept seeing articles referring to /etc/openvpn files, and I don't even have that directory..

Thank you!!

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: How to change server interface (eth0) IP

Post by openvpn_inc » Sat Feb 18, 2023 6:44 pm

Hi coreyoli16,

Glad one of my videos helped.

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply