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

OpenVPN server - Timeout

Scheduled Pinned Locked Moved OpenVPN
14 Posts 5 Posters 3.9k 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.
  • A
    AB5G
    last edited by AB5G Dec 30, 2020, 1:31 AM Dec 30, 2020, 1:31 AM

    From the looks of it there is no response from the IP and the port. Check if you have the firewall policy on the WAN port to allow inbound UDP on port 1194.

    M 1 Reply Last reply Dec 30, 2020, 1:46 AM Reply Quote 0
    • M
      Marci @AB5G
      last edited by Dec 30, 2020, 1:46 AM

      @ab5g Thanks for your reply. Yes I have an according WAN rule, it was generated by the wizard, please see below:

      WAN rules
      OpenVPN rule details

      A 1 Reply Last reply Dec 30, 2020, 2:20 AM Reply Quote 0
      • A
        AB5G @Marci
        last edited by Dec 30, 2020, 2:20 AM

        @marci Can you try connecting it via the IP instead of DynDNS ? Also please check that the OpenVPN interface has a firewall rule allowing traffic to go out (Firewall >> Rules >> OpenVPN).

        If that is also open, look at the firewall logs (Diagnostics >> pfTop >> filter by port and see if the traffic is getting blocked anywhere)

        M 1 Reply Last reply Dec 30, 2020, 2:32 AM Reply Quote 0
        • J
          JailBird4
          last edited by Dec 30, 2020, 2:30 AM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • M
            Marci @AB5G
            last edited by Dec 30, 2020, 2:32 AM

            @ab5g I tried it directly via the IP, the result is the same (timeout). I also looked at pfTop, but I did not see any connection attempts.

            The OpenVPN interface has the rule from the wizard, see below:
            OpenVPN rules
            rule details

            A V 2 Replies Last reply Dec 30, 2020, 4:22 AM Reply Quote 0
            • A
              AB5G @Marci
              last edited by Dec 30, 2020, 4:22 AM

              @marci That doesn't make sense. You should at least see a connection attempt on the firewall. Is the OpenVPN server on ?. Try an external website and see if your port is open.

              M 1 Reply Last reply Dec 30, 2020, 7:49 PM Reply Quote 0
              • V
                viragomann @Marci
                last edited by Dec 30, 2020, 9:12 AM

                @marci
                Show your OpenVPN server configuration.

                Is there any hint in the OpenVPN log?

                M 1 Reply Last reply Dec 30, 2020, 8:06 PM Reply Quote 0
                • G
                  Gertjan
                  last edited by Gertjan Dec 30, 2020, 9:28 AM Dec 30, 2020, 9:24 AM

                  Your WAN rukes image :

                  639b3462-6f92-4e1b-8a2b-4d4e4ecc71d6-image.png

                  which means no traffic reached the WAN interface, using port 1194, protocol UDP.

                  You should see :

                  12bfb26d-1099-477a-bbb3-4bc0f80f8c80-image.png

                  See for yourself :

                  365a4de1-c628-4642-a208-e5bf7d2af267-image.png

                  and hit the start button - then re try to connect. Stop to see the results. Was there any traffic ?

                  What is the IP of your WAN interface ? Some RFC1918 IP and if so, what's in front of your pfSense ? a "ISP" router ? If so ; does this one contain the correct NAT rule ?

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

                  M 1 Reply Last reply Dec 30, 2020, 8:12 PM Reply Quote 0
                  • M
                    Marci @AB5G
                    last edited by Marci Dec 30, 2020, 8:13 PM Dec 30, 2020, 7:49 PM

                    @ab5g I have checked the port with some websites and all report that the port (1194) is closed. If I restore my old pfsense config it is also reported that port 1194 is closed but I can connect to my server.

                    G 1 Reply Last reply Dec 30, 2020, 11:33 PM Reply Quote 0
                    • M
                      Marci @viragomann
                      last edited by Marci Dec 30, 2020, 8:14 PM Dec 30, 2020, 8:06 PM

                      @viragomann Here is my server configuration
                      screenshot

                      There is no activity in the OpenVPN log.

                      I also restored my old pfsense config and there I could see the connection in the log.

                      1 Reply Last reply Reply Quote 0
                      • M
                        Marci @Gertjan
                        last edited by Dec 30, 2020, 8:12 PM

                        @gertjan There is no activity in the packet capture. I also tried it with my old pfsense config (where I can connect) and there I could see according activity.

                        I have an ISP router in front of pfsense, so my WAN IP is in its network (192.168.0.101).
                        Since I can connect to the OpenVPN server with my old pfsense config (also using UDP 1194) I think the ISP router should not be a problem, right?

                        I am puzzled...

                        1 Reply Last reply Reply Quote 0
                        • G
                          Gertjan @Marci
                          last edited by Dec 30, 2020, 11:33 PM

                          @marci said in OpenVPN server - Timeout:

                          I have checked the port with some websites and all report that the port (1194) is closed.

                          Checked port 1194 using TCP or UDP ? OpenVPN is using UDP.

                          @marci said in OpenVPN server - Timeout:

                          so my WAN IP is in its network (192.168.0.101).

                          What was the pfSense "WAN" IP uising the old config ? 192.168.0.101 ?
                          What is the pfSense "WAN" IP using the new config ? If it's not 192.168.0.101, the NAT rule in the ISP should be modified, so that it uses the new pfSense WAN IP.

                          @marci said in OpenVPN server - Timeout:

                          There is no activity in the packet capture.

                          That proofs again that incoming VPN traffic doesn't reach pfSense.
                          If nothing enters the WAN NIC, you should check the ISP router = the NAT rule in this device.

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

                          M 1 Reply Last reply Dec 31, 2020, 2:01 AM Reply Quote 0
                          • M
                            Marci @Gertjan
                            last edited by Dec 31, 2020, 2:01 AM

                            @gertjan and @all

                            Thank you very much for your time and comments!
                            Indeed the port forwarding on my ISP router was not configured correctly.
                            That being corrected everything is now working as expected 😁

                            I wish you a great start into the new year!!

                            1 Reply Last reply Reply Quote 1
                            14 out of 14
                            • First post
                              14/14
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                              This community forum collects and processes your personal information.
                              consent.not_received