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

    OpenVPN connects but no traffic

    OpenVPN
    openvpn server dd-wrt
    3
    9
    2.1k
    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.
    • B
      bobby121418
      last edited by

      Hello,
      I'm new to setting up OpenVPN and any help is greatly appreciated.

      So, I have setup openVPN server on my dd-wrt router, a Netgear placed after my ISP router. The port forwarding and DDNS address is also setup.

      The problem is I connect via a GUI on my PC and the connection is established, but it seems no traffic is passed. The intention is to access my local LAN from an external network.

      I have looked at client and server logs but cannot understand if something is wrong.
      Happy to provide logs and any help is appreciated.

      Many thanks
      Best

      JKnottJ 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott @bobby121418
        last edited by

        @bobby121418

        What are the subnets on each end of the VPN? If they overlap, the VPN won't work.

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

        B 1 Reply Last reply Reply Quote 1
        • B
          bobby121418 @JKnott
          last edited by

          @jknott thank you for your quick response.

          I have my ISP router followed by a Netgear router, lets call these A and B where B is connected via LAN port to its WAN port. The subnet for A is 192.168.0.1 and B 192.168.1.1.

          I have followed this video for setup of the VPN server on the dd-wrt:
          https://www.youtube.com/watch?v=dwrR18_xO_Q

          When I get Server: CONNECTED SUCCESS

          I can say:
          Local Address: 10.8.0.1
          Remote Address: 10.8.0.1

          OpenVPN GUI software client with a DDNS address, which connects fine on Windows 10 to 10.8.0.2.

          Hope this helps.
          Thanks

          chpalmerC JKnottJ 2 Replies Last reply Reply Quote 0
          • chpalmerC
            chpalmer @bobby121418
            last edited by

            @bobby121418 said in OpenVPN connects but no traffic:

            Local Address: 10.8.0.1
            Remote Address: 10.8.0.1

            Tunnel network should be something like 10.8.0.0/29 then each side will grab the correct address. 10.8.0.1 and 10.8.0.2 they cannot be the same.

            Triggering snowflakes one by one..
            Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

            B 1 Reply Last reply Reply Quote 0
            • B
              bobby121418 @chpalmer
              last edited by

              @chpalmer said in OpenVPN connects but no traffic:

              @bobby121418 said in OpenVPN connects but no traffic:

              Local Address: 10.8.0.1
              Remote Address: 10.8.0.1

              Tunnel network should be something like 10.8.0.0/29 then each side will grab the correct address. 10.8.0.1 and 10.8.0.2 they cannot be the same.

              Ok, so what should I do?
              Thanks

              1 Reply Last reply Reply Quote 0
              • JKnottJ
                JKnott @bobby121418
                last edited by

                @bobby121418 said in OpenVPN connects but no traffic:

                Local Address: 10.8.0.1
                Remote Address: 10.8.0.1

                That won't work. The end points of the tunnel must have different addresses within the same subnet. For example, my tunnel is 172.16.255.0/24, with the pfSense end 172.16.255.1 by default. The other end address is automatically assigned to work with it. So, when I connect my notebook computer it gets the address 172.16.255.2. How are you setting those addresses? All I had to do was choose the subnet and pfSense did the rest.

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

                B 1 Reply Last reply Reply Quote 0
                • B
                  bobby121418 @JKnott
                  last edited by

                  @jknott said in OpenVPN connects but no traffic:

                  @bobby121418 said in OpenVPN connects but no traffic:

                  Local Address: 10.8.0.1
                  Remote Address: 10.8.0.1

                  That won't work. The end points of the tunnel must have different addresses within the same subnet. For example, my tunnel is 172.16.255.0/24, with the pfSense end 172.16.255.1 by default. The other end address is automatically assigned to work with it. So, when I connect my notebook computer it gets the address 172.16.255.2. How are you setting those addresses? All I had to do was choose the subnet and pfSense did the rest.

                  So, the IP you mention the 10.8.0.1is on routers' side. The IP I get on PC with VPN is 10.8.0.2. Is that no good?

                  chpalmerC JKnottJ 2 Replies Last reply Reply Quote 0
                  • chpalmerC
                    chpalmer @bobby121418
                    last edited by

                    @bobby121418

                    Can you show a screen shot of your pfsense openvpn config where the IP addresses are detailed?

                    Like this-
                    likethis.jpg

                    Triggering snowflakes one by one..
                    Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                    1 Reply Last reply Reply Quote 0
                    • JKnottJ
                      JKnott @bobby121418
                      last edited by

                      @bobby121418

                      As long as the ends have different addresses, within the same subnet, it should work. PfSense does that for you automagically. It assigns the first usable address to itself and subsequent addresses to the client(s). All you have to do is pick the subnet.

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

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