Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    VPN - Export Binding to FQDN vs WAN IP

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 376 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • penguinpagesP
      penguinpages
      last edited by

      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

      bingo600B 1 Reply Last reply Reply Quote 0
      • bingo600B
        bingo600 @penguinpages
        last edited by bingo600

        @penguinpages

        On the Export page
        Use : Other , instead of interface IP

        8730e35b-5102-4431-a4d7-f0e2ab1a3456-image.png

        If you find my answer useful - Please give the post a šŸ‘ - "thumbs up"

        pfSense+ 23.05.1 (ZFS)

        QOTOM-Q355G4 Quad Lan.
        CPUĀ  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
        LANĀ  : 4 x Intel 211, DiskĀ  : 240G SAMSUNG MZ7L3240HCHQ SSD

        1 Reply Last reply Reply Quote 2
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.