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

    DD-WRT Client to pfSense

    Scheduled Pinned Locked Moved OpenVPN
    8 Posts 5 Posters 2.6k 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.
    • G
      gazoo
      last edited by

      I'm trying to do a site to site VPN where DD-WRT is the client and the server is pfsense. I added a static key entry for this one site in pfsense. I do occasionally see it try to connect but I suspect i have an in issue on the DD-WRT side.

      Also I setup a tunnel address with a /30 on pfsense and dd-wrt. I also stated my local address and the remote address.

      What am I doing wrong? I've attached pics
      pfVPN.JPG
      pfVPN.JPG_thumb
      ddwrtvpn.JPG
      ddwrtvpn.JPG_thumb

      1 Reply Last reply Reply Quote 0
      • G
        gazoo
        last edited by

        Nothing?
        I would have really liked to use pfsense at the other end in which case I know it would work but it's for the old folks and they don't have much bandwidth and don't want to spend any money and I had the DD-WRT lying around.

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          from just a glance at your setting I can tell you that 445 is BAD choice for trying to setup a vpn.  Many isp would block this port since it used in windows file sharing.

          https://support.microsoft.com/en-us/kb/204279
          Direct hosting of SMB over TCP/IP

          Even though your trying to use it over UDP..  Not a good choice.

          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 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • dotdashD
            dotdash
            last edited by

            @gazoo:

            Nothing?
            I would have really liked to use pfsense at the other end in which case I know it would work but it's for the old folks and they don't have much bandwidth and don't want to spend any money and I had the DD-WRT lying around.

            Some of us take a break on Sundays…

            I've done a setup with a Tomato client. My pfSense side was similar to yours. On the Tomato side, it was configured as a client, specifying the server address. I had to add the routes to the custom config section. Looks like the layout is different on DDWRT, I don't see the same fields but maybe it helps. I just searched for information on OpenVPN with Tomato when I set mine up. I'm sure there is information on DDWRT out there if you search.

            1 Reply Last reply Reply Quote 0
            • G
              gazoo
              last edited by

              Thanks for the advice. I will choose a different port. Also, the reason I can't find much on DD-WRT is because the newer versions have more of the VPN stuff "baked in" to the GUI so no need to add more commands, scripts, or firewall entries. However, there is much less info on the new versions and so I cannot find what the parameters are that are built in and not built in.

              1 Reply Last reply Reply Quote 0
              • S
                SisterOfMercy
                last edited by

                Yeah, well.. DD-WRT is a bit of a mess, when it comes to proper versioning. Only when you get to the forum they tell you to not use that version their website tells you to use. For most devices it seems it depends on the persons involved, whether there is any development. For some devices you really need the latest dev version, and for others you need the "stable" versions 'cause nothing else works.

                Anyway, when I find a version that works well enough on that device I tend to call it quits. I have never gotten OpenVPN to work, and I would be impressed if you have. This is not to steer you away from trying, by the way.

                Hi, I'm Lance Boyle, and people often wonder if I'm real.

                1 Reply Last reply Reply Quote 0
                • G
                  gazoo
                  last edited by

                  I did once static key openvpn to work long ago. Needed scripts and what not but it did work. Also, PPTP server managed to work pretty easy too. I almost wanted to say that DD-WRT was pfSense-lite but now that I use it again I don't think so. It did, however, get me into messing with the router at home so now I'm on a firebox. Not to mention, I do a fair amount of networking at work.

                  1 Reply Last reply Reply Quote 0
                  • D
                    divsys
                    last edited by

                    I've managed to setup a few DD-WRT to pfSense OpenVPN links over the years and the experience has definitely improved.
                    My earliest attempts (still working after 8+ years!) with Linksys routers involved scripting and other kludges to survive a reboot.

                    My latest was with a pair of ASUS N66RT's allowing access to the owners office server(s) from two remote locations.
                    The latest DD-WRT made it feasible to implement the whole thing through the GUI - no scripts required.

                    That said, it's always an experience to find the most reliable firmware version to match the device you've got.
                    I've tended to go for units with more Flash/RAM to avoid the feature "squeeze" of smaller units.

                    All in all the setups have been very reliable.
                    I would still rather find a small box to run pfSense, but where that doesn't work DD-WRT keeps things at least reasonably sane…..

                    -jfp

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