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

    WireGuard lives!

    Scheduled Pinned Locked Moved WireGuard
    90 Posts 17 Posters 28.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.
    • V
      vajonam Rebel Alliance
      last edited by

      Testing this new wg package based on Jason D's wireguard-kmod!

      https://github.com/theonemcdonald/pfSense-pkg-WireGuard

      chudakC 1 Reply Last reply Reply Quote 4
      • V
        vajonam Rebel Alliance
        last edited by

        Latest release here.

        https://github.com/theonemcdonald/pfSense-pkg-WireGuard/releases

        Works great for me thus far.

        Check out the update video here https://www.youtube.com/watch?v=yPTAEv_hKFU

        P 1 Reply Last reply Reply Quote 3
        • P
          psp @vajonam
          last edited by

          @vajonam Currently using it. MTU issues are gone, widget traffic graph on WG interface is working. Quite stable IMHO.

          cmcdonaldC 1 Reply Last reply Reply Quote 1
          • cmcdonaldC
            cmcdonald Netgate Developer @psp
            last edited by

            Glad to hear 😁

            Need help fast? https://www.netgate.com/support

            1 Reply Last reply Reply Quote 0
            • chudakC
              chudak @vajonam
              last edited by

              @vajonam

              Very promising, thx !

              1 Reply Last reply Reply Quote 0
              • V
                vjizzle
                last edited by

                Hi! Great work :). I checked out your Github but I am not that brilliant and with the instructions there I am not able to install it.
                I have pfSense 2.6.1 dev running on my homelab ready for testing. Is there a step-by-step somewhere I can follow and get me started? Thank you.

                V cmcdonaldC 2 Replies Last reply Reply Quote 0
                • V
                  vajonam Rebel Alliance @vjizzle
                  last edited by

                  @vjizzle

                  Don't have a step by step yet, will get the readme updated when we are more ready.

                  1 Reply Last reply Reply Quote 1
                  • cmcdonaldC
                    cmcdonald Netgate Developer @vjizzle
                    last edited by

                    @vjizzle The installation process is bound to get easier for everyone. πŸ˜‰

                    Need help fast? https://www.netgate.com/support

                    1 Reply Last reply Reply Quote 1
                    • P
                      psp
                      last edited by psp

                      Just upgraded to v0.0.8 in pfSense v2.6.0-DVM. No issues so far. All is still properly working.

                      cmcdonaldC 1 Reply Last reply Reply Quote 2
                      • cmcdonaldC
                        cmcdonald Netgate Developer @psp
                        last edited by

                        @psp Thanks for the update!

                        Need help fast? https://www.netgate.com/support

                        1 Reply Last reply Reply Quote 1
                        • V
                          vjizzle
                          last edited by

                          Waiting anxiously for tutorial and easy installation option. However don’t rush it, we all know how that goes πŸ˜‚.

                          1 Reply Last reply Reply Quote 1
                          • KOMK
                            KOM
                            last edited by

                            I'm wondering if it's a simple matter to just scp the 4 package files over and then run pkg on each one to install them, then reboot?

                            1 Reply Last reply Reply Quote 0
                            • V
                              vajonam Rebel Alliance
                              last edited by vajonam

                              Yup that is it.. I like to install them in the order of dependency.

                              wireguard-kmod, bash, wireguard-tools and then pkg-Wireguard. With the latest kmod we are seeing some KPs and other wierdness. So remeber this is experimental. don't run on prod and backup before you make any chagnes.

                              1 Reply Last reply Reply Quote 1
                              • C
                                chrisjmuk
                                last edited by

                                I cant get it to work.

                                I am not even sure if its connecting and i am not sure how the NAT should be configured so that all traffic goes via wireguard as it no longer makes a gateway.

                                Kind Regards,
                                Chris

                                cmcdonaldC 1 Reply Last reply Reply Quote 0
                                • cmcdonaldC
                                  cmcdonald Netgate Developer @chrisjmuk
                                  last edited by

                                  @chrisjmuk so you’ll need to create your own gateway entry manually, and then policy route over it as usual

                                  Need help fast? https://www.netgate.com/support

                                  C 1 Reply Last reply Reply Quote 0
                                  • C
                                    chrisjmuk @cmcdonald
                                    last edited by

                                    @theonemcdonald i know how to create the gateway and set the rule in the firewall to go to the specific gateway, or am i missing something else?

                                    cmcdonaldC 1 Reply Last reply Reply Quote 0
                                    • cmcdonaldC
                                      cmcdonald Netgate Developer @chrisjmuk
                                      last edited by

                                      @chrisjmuk What VPN provider are you using?

                                      Need help fast? https://www.netgate.com/support

                                      C 1 Reply Last reply Reply Quote 0
                                      • C
                                        chrisjmuk @cmcdonald
                                        last edited by

                                        Mullvad VPN - used before on pfSense 1.5.1 Dev

                                        These are my settings - i have removed the keys on purpose and will change.

                                        Screenshot_2021-05-05 pfSense home arpa - VPN WireGuard Tunnels Edit.png

                                        Screenshot_2021-05-05 pfSense home arpa - VPN WireGuard Peers Edit.png

                                        Screenshot_2021-05-05 pfSense home arpa - System Routing Gateways Edit.png

                                        Screenshot_2021-05-05 pfSense home arpa - Interfaces mlvdgb12 (tun_wg0).png

                                        cmcdonaldC 1 Reply Last reply Reply Quote 0
                                        • cmcdonaldC
                                          cmcdonald Netgate Developer @chrisjmuk
                                          last edited by

                                          @chrisjmuk I will get a mullvad subscription to test

                                          Need help fast? https://www.netgate.com/support

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

                                            @theonemcdonald its free for 24 hours.

                                            also getting this error

                                            Crash report begins.  Anonymous machine information:
                                            
                                            amd64
                                            12.2-STABLE
                                            FreeBSD 12.2-STABLE devel-12-n226623-ba553ae641b5 pfSense
                                            
                                            Crash report details:
                                            
                                            PHP Errors:
                                            [05-May-2021 14:07:00 Etc/UTC] PHP Warning:  Invalid argument supplied for foreach() in /usr/local/www/wg/vpn_wg_peers_edit.php on line 259
                                            
                                            
                                            
                                            No FreeBSD crash data found.
                                            
                                            V 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.