• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.5k 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 @Tiger 0
    last edited by Aug 1, 2021, 6:33 AM

    56ada06f-caef-4989-8272-647f0cdf3484-image.png

    Here's what it shows when I try connecting my pc.

    N 1 Reply Last reply Aug 1, 2021, 7:34 AM Reply Quote 0
    • N
      noplan @Tiger 0
      last edited by Aug 1, 2021, 7:34 AM

      @tiger-0

      Not concerning your private ip on the log

      Have you opened your 1194 port on wan
      Client export and openVPN setup are allign
      In terms of exporting the settings with or without 2.5 for openVpn

      Next sterp is to show your vpn server settings
      Just with the hint on a vid it's not gonna work
      BrNP

      T 1 Reply Last reply Aug 1, 2021, 7:58 AM Reply Quote 0
      • T
        Tiger 0 @noplan
        last edited by Aug 1, 2021, 7:58 AM

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

        81b17fe5-1407-44ab-9631-2b1b266624f5-image.png

        N V 2 Replies Last reply Aug 1, 2021, 9:44 AM Reply Quote 0
        • N
          noplan @Tiger 0
          last edited by Aug 1, 2021, 9:44 AM

          @tiger-0

          and the rest ?

          btw what are the logs of your openVPN Server sayin ?

          for me it looks like you go no route to your vpn server

          T 1 Reply Last reply Aug 1, 2021, 11:01 AM Reply Quote 0
          • B
            Bob.Dig LAYER 8
            last edited by Aug 1, 2021, 10:30 AM

            Why is the remote address a local one?

            N 1 Reply Last reply Aug 1, 2021, 10:37 AM Reply Quote 0
            • N
              noplan @Bob.Dig
              last edited by Aug 1, 2021, 10:37 AM

              @bob-dig

              not sure if that's the only thing to consider why it's not working 🤕 🤕 🤕

              1 Reply Last reply Reply Quote 0
              • T
                Tiger 0 @noplan
                last edited by Aug 1, 2021, 11:01 AM

                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 Aug 1, 2021, 7:01 PM

                  @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 Aug 2, 2021, 3:23 AM Reply Quote 0
                  • T
                    Tiger 0 @viragomann
                    last edited by Aug 2, 2021, 3:23 AM

                    @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

                    G V 2 Replies Last reply Aug 2, 2021, 7:56 AM Reply Quote 0
                    • G
                      Gertjan @Tiger 0
                      last edited by Aug 2, 2021, 7:56 AM

                      @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 Aug 2, 2021, 10:16 AM

                        @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.

                        N 1 Reply Last reply Aug 2, 2021, 12:07 PM Reply Quote 0
                        • N
                          noplan @viragomann
                          last edited by Aug 2, 2021, 12:07 PM

                          @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.

                          G V 2 Replies Last reply Aug 2, 2021, 12:20 PM Reply Quote 0
                          • G
                            Gertjan @noplan
                            last edited by Aug 2, 2021, 12:20 PM

                            @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 Aug 2, 2021, 12:45 PM

                              @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.

                              N 1 Reply Last reply Aug 2, 2021, 3:31 PM Reply Quote 0
                              • N
                                noplan @viragomann
                                last edited by Aug 2, 2021, 3:31 PM

                                @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 Aug 2, 2021, 4:01 PM Reply Quote 0
                                • V
                                  viragomann @noplan
                                  last edited by Aug 2, 2021, 4:01 PM

                                  @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.

                                  N 1 Reply Last reply Aug 2, 2021, 7:34 PM Reply Quote 0
                                  • N
                                    noplan @viragomann
                                    last edited by Aug 2, 2021, 7:34 PM

                                    @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 Aug 2, 2021, 7:52 PM Reply Quote 0
                                    • V
                                      viragomann @noplan
                                      last edited by Aug 2, 2021, 7:52 PM

                                      @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. 😊

                                      N 1 Reply Last reply Aug 3, 2021, 6:40 AM Reply Quote 0
                                      • N
                                        noplan @viragomann
                                        last edited by Aug 3, 2021, 6:40 AM

                                        @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
                                        20 out of 20
                                        • First post
                                          20/20
                                          Last post
                                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                          This community forum collects and processes your personal information.
                                          consent.not_received