Changing the WAN Address in OpenVPN on Raspberry Pi

If you need to change your public IP address in the OpenVPN configuration, simply connect to your Raspberry Pi via the terminal and edit the “Default” file with the following command:

sudo nano /etc/openvpn/easy-rsa/pki/Default.txt

and change what appears after the remote entry

immediately after the IP address (or domain name) you will find the port in use (leave this alone unless you want to change it)

The data in this file is used every time a new client is generated.

Enjoy!

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top