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

    Pfsense to DD-wrt Open vpn

    Scheduled Pinned Locked Moved OpenVPN
    23 Posts 6 Posters 11.1k 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.
    • Cry HavokC
      Cry Havok
      last edited by

      @chazers18:

      So if any one has a link, on how to make the ddwrt a client using static keys PLEASE let me know.

      I'd suggest you ask on the DD-WRT forums, where you're far more likely to reach people who know DD-WRT ;)

      On the other hand, both DD-WRT and pfSense work under VMWare etc, so if I find the time over the next couple of weeks I'll see if I can work out if DD-WRT needs anything special beyond the instructions in the OpenVPN documentation.

      1 Reply Last reply Reply Quote 0
      • C
        chazers18
        last edited by

        Thank you Guys you are all great.

        i will work with some of the scripting that i know how to do and post the results also.

        Again THANK YOU!! :)

        1 Reply Last reply Reply Quote 0
        • C
          chazers18
          last edited by

          @chazers18:

          Thank you Guys you are all great.

          i will work with some of the scripting that i know how to do and post the results also.

          Again THANK YOU!! :)

          now from a window pc couldnt i just create a static key and with winscp ssh in to the ddwrt thing and place the static key in there under one of the permanet files. and then just run this command?

          echo "dev tap
          link-mtu 1492
          remote public IP
          resolv-retry infinite

          ifconfig 192.168.1.0 255.255.255.252
          client
          –---BEGIN OpenVPN Static key V1-----
            ...INSERT YOUR OWN CONTENT HERE...
            -----END OpenVPN Static key V1-----
          " > /tmp/static.key

          #ca /tmp/openvpn/ca.crt
          #cert /tmp/openvpn/client.crt
          #key /tmp/openvpn/client.key
          #comp-lzo
          persist-tun
          persist-key
          verb 3
          cipher AES-256-CBC" > /tmp/openvpn/openvpn.conf

          killall openvpn
          openvpn --config /tmp/openvpn/openvpn.conf

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