Navigation

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

    Pfsense behind nat: openvpn config export with RFC-1918 address

    OpenVPN
    3
    5
    532
    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.
    • C
      crumpr last edited by

      Hi,

      I'm having my pfSense  behind a router so pfsense's WAN-IP is only a private (RFC1918) address.
      From the first router I've got a nat for openvpn from the public IP (the first router also has a dyndns record) to pfsense for "Remote Access (SSL/TLS)" and that works.

      When I export my openvpn config I get an .ovpn file that has
      "remote 192.168.4.3 1195 udp"
      while that's the WAN IP address of pfsense - due to the fact that it's sitting behind the frist router.

      My question is:
      Can I somewhere configure an alternative name that is used in the openvpn export instead of the WAN-IP?

      Thanks & KR
      Thomas

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned last edited by

        Have you tried the "Host Name Resolution" dropdown menu?

        1 Reply Last reply Reply Quote 0
        • C
          crumpr last edited by

          no, where to find that?
          (sorry, still noob in pfsense)

          1 Reply Last reply Reply Quote 0
          • V
            viragomann last edited by

            Choose Other and enter your public IP or host name.


            1 Reply Last reply Reply Quote 0
            • C
              crumpr last edited by

              wow, thats exactly what I was looking for!
              thank you a lot!! :-) :-)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Products

              • Platform Overview
              • TNSR
              • pfSense
              • Appliances

              Services

              • Training
              • Professional Services

              Support

              • Subscription Plans
              • Contact Support
              • Product Lifecycle
              • Documentation

              News

              • Media Coverage
              • Press
              • Events

              Resources

              • Blog
              • FAQ
              • Find a Partner
              • Resource Library
              • Security Information

              Company

              • About Us
              • Careers
              • Partners
              • Contact Us
              • Legal
              Our Mission

              We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

              Subscribe to our Newsletter

              Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

              © 2021 Rubicon Communications, LLC | Privacy Policy