VPN - Export Binding to FQDN vs WAN IP
-
Within open VPN the setup of server and its configuration seems to work fine and the client_export plugin is great.
Just one tweek I am looking to get. How to have the OVPN export files reference FQDN vs current WAN IP. With DDN this would continually change
Ex: penguinpages.ddns.edu Current IP is 52.1.13.31
VPN Client Export Configuration:
dev tun persist-tun persist-key data-ciphers AES-128-GCM:CHACHA20-POLY1305:AES-256-CBC data-ciphers-fallback AES-256-CBC auth SHA256 tls-client client resolv-retry infinite remote 52.1.13.31 2131 udp4 nobind auth-user-pass ca rt1-UDP4-1194-ca.crt tls-auth rt1-UDP4-1194-tls.key 1 remote-cert-tls server explicit-exit-notify
What I would prefer it export as
dev tun persist-tun persist-key data-ciphers AES-128-GCM:CHACHA20-POLY1305:AES-256-CBC data-ciphers-fallback AES-256-CBC auth SHA256 tls-client client resolv-retry infinite remote penguinpages.ddns.edu 2131 udp4 nobind auth-user-pass ca rt1-UDP4-1194-ca.crt tls-auth rt1-UDP4-1194-tls.key 1 remote-cert-tls server explicit-exit-notify
Is this some setting within OpenVPN I can change to or do I have to just modify OVPN client file (the export with installer kind of gets diminished in value/ broken then)
Thanks
-
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.