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

    Unable to access OpenVPN server externally

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 4 Posters 554 Views 4 Watching
    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.
    • A Offline
      abadabee
      last edited by stephenw10

      This post is deleted!
      JKnottJ 1 Reply Last reply Reply Quote 0
      • JKnottJ Offline
        JKnott @abadabee
        last edited by

        @abadabee

        Where is the server installed? On your firewall/router? On the LAN? Do you have a public WAN address? Or does your ISP use NAT?

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          abadabee @JKnott
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • stephenw10S Offline
            stephenw10 Netgate Administrator
            last edited by

            So the fact you have used the 'DMZ' term there implies pfSense has a private IP on it's WAN with the router forwarding all traffic to it?

            Did you use the client export package to install the client? By default that will use the WAN IP address to have the client connect to. Obviously if it's a private IP you will not be able to connect to that externally. Check what the client is actually trying to connect to. Change it to your actual public IP if it's not that.

            Steve

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              abadabee @stephenw10
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • johnpozJ Offline
                johnpoz LAYER 8 Global Moderator
                last edited by

                @abadabee said in Unable to access OpenVPN server externally:

                how do i change that i can only enter tunnel network and local network in config

                Huh? Not in the server config - in the clients config.. Or just export the config with the correct public IP.

                export.jpg

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 25.07 | Lab VMs 2.8, 25.07

                A 1 Reply Last reply Reply Quote 1
                • A Offline
                  abadabee @johnpoz
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • stephenw10S Offline
                    stephenw10 Netgate Administrator
                    last edited by

                    Yup change it there and re-export the config. Or edit the config on the client directly to use the real public IP.

                    Steve

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