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

    Can't connect windows computer to openvpn

    Scheduled Pinned Locked Moved OpenVPN
    20 Posts 5 Posters 1.7k 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.
    • T
      Tiger 0 @noplan
      last edited by

      4ccbf1d8-3d25-40d3-a060-d0a6080f440a-image.png
      c9d308bb-b318-4c96-804d-65b9154464bf-image.png
      cf8023c1-f170-4bc9-8dea-625751b88257-image.png
      62e4183b-8333-42b3-86ed-5237dfe71f6b-image.png
      a923cbbb-d6a9-40c7-a64a-4761fbb4cca4-image.png

      my openvpn logs asks to check network connectivity. I think I need to configure something but I can't seem to find it. Can you suggest what should I check?

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

        @tiger-0 said in Can't connect windows computer to openvpn:

        Yes, the 1194 port is already open from the firewall rules.

        Again, your client tries to connect to a private IP. This let us assume that you OpenVPN servers WAN IP is behind a router.
        So you have

        • to forward UDP 1194 to pfSense on that router
        • in the client export utility enter your public IP or host name at "Host Name Resolution" and export a new config for the client
        T 1 Reply Last reply Reply Quote 0
        • T
          Tiger 0 @viragomann
          last edited by

          @viragomann

          We can't configure the firewall from our router that was given by our ISP.
          tried adding the public IP on the client export and still can't connect

          GertjanG V 2 Replies Last reply Reply Quote 0
          • GertjanG
            Gertjan @Tiger 0
            last edited by

            @tiger-0 said in Can't connect windows computer to openvpn:

            We can't configure the firewall from our router that was given by our ISP.

            If you have an upstream (ISP) router in front of pfSense, you have to "NAT"that router.
            That's not a choice, it's mandatory.

            NATting a port in the ISP's router isn't something special. I never saw an ISP - using their routers - in France (where I live) that doesn't support NAT.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

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

              @tiger-0
              At least there should be a possibility on the router to set an internal IP or device as "DMZ" or "exposed host", which typically means that the router forwards any traffic to the stated IP or device.

              noplanN 1 Reply Last reply Reply Quote 0
              • noplanN
                noplan @viragomann
                last edited by

                @viragomann

                in Austria there are some (gettin more and more) ISP business routers (modems) that dont allow port forwarding opening ports and so on ... they provide a private range and thats it
                so no openVPN for a lot of business (small) customers from one of the largest ISP here ;)

                yah there is a way round set the providerBox to bridge mode and use your pfS instead of that provider box

                and yeah i like that approach @Gertjan

                That's not a choice, it's mandatory.

                GertjanG V 2 Replies Last reply Reply Quote 0
                • GertjanG
                  Gertjan @noplan
                  last edited by

                  @noplan said in Can't connect windows computer to openvpn:

                  in Austria there are some (gettin more and more) ISP business routers (modems) that dont allow port forwarding opening ports and so on ... they provide a private range and thats it
                  so no openVPN for a lot of business (small) customers from one of the largest ISP here ;)

                  If they don't have enough "IPv4" for their clients, then yes, that's possible.
                  IPv6 was created to solve that issue.

                  @noplan said in Can't connect windows computer to openvpn:

                  modems

                  Modems are often bridges.
                  With those devices their is nothing to 'NAT' as modems (bridges) don't work with "IP" addresses.
                  They (the ISP) could still offer you some RFC1918 ......

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

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

                    @noplan said in Can't connect windows computer to openvpn:

                    in Austria there are some (gettin more and more) ISP business routers (modems) that dont allow port forwarding opening ports and so on

                    Business routers? Not seen such ones up to now.

                    no openVPN for a lot of business (small) customers from one of the largest ISP here ;)

                    I know a business customer who got a CGN IP, but wanted to run services inside his network. A phone call to the "largest" provider was sufficient to get a public IPv4.
                    However, this was 2 years ago and the IPv4 lack is going on, of course.

                    noplanN 1 Reply Last reply Reply Quote 0
                    • noplanN
                      noplan @viragomann
                      last edited by

                      @viragomann

                      largest ISP in Austria no chance in hell to get anything else than a 10.0.0.0/24
                      and the ISP DNS as i mentioned earlier sold to small business

                      some of the things have nothing to to with the lack of IPV4
                      just with money the ISP wants from his clients :)

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

                        @noplan said in Can't connect windows computer to openvpn:

                        largest ISP in Austria no chance in hell to get anything else than a 10.0.0.0/24

                        Yes, I'm talking about this one.

                        I know the 10.0.0.0/24 only from the ISP routers. But up to now, any was able to forward traffic and also could be set into bridge mode.

                        However, if you don't intervene, you might get a CGN WAN IP, something like 100.x.x.x, which is not public and hence cannot be accessed from outside.

                        noplanN 1 Reply Last reply Reply Quote 0
                        • noplanN
                          noplan @viragomann
                          last edited by

                          @viragomann

                          got a talk with that ISP today motivated by your post ;)

                          this business connect they sell only works
                          a) you get a private 10.0.0.0/24 and no open ports whatever
                          b) a box set in bridge mode and you have to deal with all the other nasty stuff

                          not sure if there isn't a small fee each month for usin b)

                          oh man i love ADSL in austria ;)

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

                            @noplan said in Can't connect windows computer to openvpn:

                            b) a box set in bridge mode and you have to deal with all the other nasty stuff

                            Therefor we use pfSense, which handles much better the nasty stuff then the any providers router. 😊

                            noplanN 1 Reply Last reply Reply Quote 0
                            • noplanN
                              noplan @viragomann
                              last edited by

                              @viragomann said in Can't connect windows computer to openvpn:

                              Therefor we use pfSense, which handles much better the nasty stuff then the any providers router

                              yeeessss
                              Totally agree on that one !

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