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

    surfshark guide for pfsense wireguard

    Scheduled Pinned Locked Moved WireGuard
    32 Posts 9 Posters 6.4k 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.
    • rtorresR
      rtorres Rebel Alliance @johnpoz
      last edited by

      @johnpoz

      Thank you kindly! I’ll give this a go and will report back. I’m used to PiVPN where it’s just install, create a profile, scan the QR code and done! lol

      Y 1 Reply Last reply Reply Quote 0
      • Y
        yucca1960 @rtorres
        last edited by yucca1960

        @rtorres actually they do have a guide for pfsense with wireguard but you have to ask support for it

        F 1 Reply Last reply Reply Quote 0
        • Bob.DigB
          Bob.Dig LAYER 8
          last edited by Bob.Dig

          Also you can only have one concurrent connection via WireGuard to them with pfSense.

          rtorresR 1 Reply Last reply Reply Quote 0
          • F
            flat4 @yucca1960
            last edited by

            @yucca1960 Whoever gets should post it online somewhere to have a general guide

            rtorresR 1 Reply Last reply Reply Quote 0
            • rtorresR
              rtorres Rebel Alliance @Bob.Dig
              last edited by

              @Bob-Dig

              What do you mean by this? I would have liked my whole pfSense rig to be passing all my home network + VPN on the go.

              Nothing fancy just home network wide VPN and on the go cellphone VPN.

              Hopefully this can be accomplished.

              Bob.DigB 1 Reply Last reply Reply Quote 0
              • rtorresR
                rtorres Rebel Alliance @flat4
                last edited by

                @flat4 said in surfshark guide for pfsense wireguard:

                @yucca1960 Whoever gets should post it online somewhere to have a general guide

                I just got the guide for WireGuard!! :)

                Where can I host? The original link I got from the CSR at SurfShark is:
                https://v2uploads.zopim.io/p/2/L/p2LbwLkvfQoSdzOl6VEltzQA6StiZqrs/6994fa408e6b3087ac699037647c2fa0c3dfa783.pdf

                johnpozJ Bob.DigB 2 Replies Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator @rtorres
                  last edited by johnpoz

                  @rtorres said in surfshark guide for pfsense wireguard:

                  https://v2uploads.zopim.io/p/2/L/p2LbwLkvfQoSdzOl6VEltzQA6StiZqrs/6994fa408e6b3087ac699037647c2fa0c3dfa783.pdf

                  You can attach pdf's to posts, as long as they are not too big.. But the link should be fine.

                  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
                  • Y
                    yucca1960
                    last edited by

                    I tried to upload the pdf but was too big. Also you can use the ivpn guide for pfsense wireguard and add the kill switch, it does work perfectly

                    1 Reply Last reply Reply Quote 1
                    • Bob.DigB
                      Bob.Dig LAYER 8 @rtorres
                      last edited by

                      @rtorres said in surfshark guide for pfsense wireguard:

                      Hopefully this can be accomplished.

                      Sure, I said you only can have one connection to them.

                      1 Reply Last reply Reply Quote 1
                      • Bob.DigB
                        Bob.Dig LAYER 8 @rtorres
                        last edited by Bob.Dig

                        @rtorres said in surfshark guide for pfsense wireguard:

                        I just got the guide for WireGuard!! :)

                        Wonder why they say:

                        Go to Interfaces > LAN and set the MSS to 1412

                        I think this is bad advice. Also those guides want you to disable your WAN-connection entirely which is not a good idea, PBR is the way. 🙅

                        Y 1 Reply Last reply Reply Quote 1
                        • Y
                          yucca1960 @Bob.Dig
                          last edited by

                          @Bob-Dig can you explain what PBR means? Thanks

                          F 1 Reply Last reply Reply Quote 0
                          • F
                            flat4 @yucca1960
                            last edited by

                            @yucca1960
                            Pro Bull Riding

                            but that's not it

                            1 Reply Last reply Reply Quote 0
                            • Bob.DigB
                              Bob.Dig LAYER 8
                              last edited by Bob.Dig

                              I am under the impression now that surfshark isn't working well with pfSense in general. Lately I only tested with one tunnel and that still made problems after some time (going down after 10-30 minutes and coming up again), even with MTU 1420.
                              But can it be, is WireGuard in FreeBSD so much different than in linux because I have no problems using OpenWRT with them. 😦

                              rtorresR 1 Reply Last reply Reply Quote 0
                              • rtorresR
                                rtorres Rebel Alliance @Bob.Dig
                                last edited by rtorres

                                @Bob-Dig Surfshark has been working great for me, MTU 1420 and all no down time what so ever.

                                As bad idea as people would think, I have 4 instances going on with Surfshark - San Jose, San Francisco, Los Angeles and Las Vegas.

                                6ac836af-1747-48b3-afa8-463a7153152a-image.png

                                b5890f6d-8e2c-401b-b2f9-7938fc861cc4-image.png

                                Although I have been getting a lot of high latency for San Francisco - even though I live about an hour away...

                                Which location are you connecting to? Maybe I can give it a try and report back :)

                                Bob.DigB 1 Reply Last reply Reply Quote 1
                                • Bob.DigB
                                  Bob.Dig LAYER 8 @rtorres
                                  last edited by Bob.Dig

                                  @rtorres said in surfshark guide for pfsense wireguard:

                                  Which location are you connecting to?

                                  Germany, aren't you tired right now? 😁

                                  My testing, with only one tunnel, could have been flawed. On the other hand, it is what I have seen long before, so I have my doubts. For me, it is not working well with pfSense and good enough with OpenWRT, all virtualized.

                                  Have you watched your tunnels closely for some time? Maybe Surfshark doesn't like me.

                                  1 Reply Last reply Reply Quote 0
                                  • Bob.DigB
                                    Bob.Dig LAYER 8
                                    last edited by Bob.Dig

                                    I just realized that there is a even worse explanation to this: I don't have a "VPN-killswitch" for OpenWRT. And the guide on surfshark for OpenWRT is just trash (confirmed)!
                                    That means, I don't see problems on OpenWRT because I have leaks!
                                    @rtorres Now my question to you, have you done any "leak protection" for your setup on pfSense?

                                    rtorresR 1 Reply Last reply Reply Quote 0
                                    • rtorresR
                                      rtorres Rebel Alliance @Bob.Dig
                                      last edited by rtorres

                                      @Bob-Dig LOL YES! But insomnia always wins so I'm always up ALL night!

                                      I watch them literally every morning, spot check during the day, and at night.

                                      I make it a ritual to constantly check because I have Wireguard on my devices to 'remote' to my pfSense to take advantage of pfBlockerNG and Surfshark/IVPN VPN services.

                                      I did not include ANY kill switches like IVPN suggests (not too sure if the Surfshark had that on their guide). I only included static routes and rules to allow from VPN server to WAN - although IDK if this is needed since this was part of the kill switch.

                                      I am constantly checking on dnsleaktest.com for any leaks.. but so far so good, only the DNS I specified have been popping up. But I am thinking of just removing VPN DNS servers and hosting it 'in-house.'

                                      I will add Germany to my list and monitor. I am curious as IVPN has been behaving but I see Surfshark has been a bit crazy with latency and packet loss...

                                      I get a good 1.21Gbps - 1.25Gbps, I pay my ISP for 1.2Gbps.. so I call it good! :)
                                      a53b589a-4d4a-48ed-b3ec-9db72f475801-image.png

                                      I have about 8 VPN connections on my pfSense and make sure I have a monitor IP on them to check latency and all that good stuff:

                                      34a45924-5e2d-4f39-9dee-113add50ed8f-image.png
                                      d0a092d5-3509-41fa-9c4b-39479d3cbdef-image.png

                                      Bob.DigB 1 Reply Last reply Reply Quote 0
                                      • Bob.DigB
                                        Bob.Dig LAYER 8 @rtorres
                                        last edited by

                                        @rtorres said in surfshark guide for pfsense wireguard:

                                        I did not include ANY kill switches like IVPN suggests (not too sure if the Surfshark had that on their guide).

                                        So there is one option in pfSense you really should tick: Skip rules when gateway is down (SystemAdvancedMiscellaneous)
                                        Capture.PNG

                                        For my setup, it looks like BERLIN has continuous problems but also I have not seen the same flakiness now having a "Killswitch" for OpenWRT. So for me it could still be a problem in pfSense.

                                        1 Reply Last reply Reply Quote 0
                                        • I
                                          Irontalon @yucca1960
                                          last edited by stephenw10

                                          @yucca1960

                                          Yes, I have a very good tutorial in PDF format specifically created for surfshark wireguard on Pfsense.

                                          Apparently you can't attach files here so I put it on my Google drive.

                                          [Bad link removed]

                                          S 1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            Your link is restricted, I can't open it.

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