• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.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.
  • J
    johnpoz LAYER 8 Global Moderator @rtorres
    last edited by Aug 8, 2023, 7:02 PM

    Well I would think it would pretty much like this - where you get your keypair from them and setup the wireguard connection in pfsense with that keypair

    https://support.surfshark.com/hc/en-us/articles/12672238950290-How-to-set-up-WireGuard-on-FRITZ-Box-

    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

    R 1 Reply Last reply Aug 8, 2023, 7:51 PM Reply Quote 1
    • R
      rtorres Rebel Alliance @johnpoz
      last edited by Aug 8, 2023, 7:51 PM

      @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 Aug 8, 2023, 8:00 PM Reply Quote 0
      • Y
        yucca1960 @rtorres
        last edited by yucca1960 Aug 8, 2023, 8:15 PM Aug 8, 2023, 8:00 PM

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

        F 1 Reply Last reply Aug 8, 2023, 8:42 PM Reply Quote 0
        • B
          Bob.Dig LAYER 8
          last edited by Bob.Dig Aug 8, 2023, 8:17 PM Aug 8, 2023, 8:17 PM

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

          R 1 Reply Last reply Aug 8, 2023, 8:55 PM Reply Quote 0
          • F
            flat4 @yucca1960
            last edited by Aug 8, 2023, 8:42 PM

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

            R 1 Reply Last reply Aug 9, 2023, 12:03 AM Reply Quote 0
            • R
              rtorres Rebel Alliance @Bob.Dig
              last edited by Aug 8, 2023, 8:55 PM

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

              B 1 Reply Last reply Aug 9, 2023, 6:15 AM Reply Quote 0
              • R
                rtorres Rebel Alliance @flat4
                last edited by Aug 9, 2023, 12:03 AM

                @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

                J B 2 Replies Last reply Aug 9, 2023, 12:16 AM Reply Quote 0
                • J
                  johnpoz LAYER 8 Global Moderator @rtorres
                  last edited by johnpoz Aug 9, 2023, 12:16 AM Aug 9, 2023, 12:16 AM

                  @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 Aug 9, 2023, 2:57 AM

                    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
                    • B
                      Bob.Dig LAYER 8 @rtorres
                      last edited by Aug 9, 2023, 6:15 AM

                      @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
                      • B
                        Bob.Dig LAYER 8 @rtorres
                        last edited by Bob.Dig Aug 9, 2023, 8:57 AM Aug 9, 2023, 6:19 AM

                        @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 Aug 9, 2023, 8:53 AM Reply Quote 1
                        • Y
                          yucca1960 @Bob.Dig
                          last edited by Aug 9, 2023, 8:53 AM

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

                          F 1 Reply Last reply Aug 16, 2023, 8:50 PM Reply Quote 0
                          • F
                            flat4 @yucca1960
                            last edited by Aug 16, 2023, 8:50 PM

                            @yucca1960
                            Pro Bull Riding

                            but that's not it

                            1 Reply Last reply Reply Quote 0
                            • B
                              Bob.Dig LAYER 8
                              last edited by Bob.Dig Mar 22, 2024, 10:44 AM Mar 22, 2024, 10:43 AM

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

                              R 1 Reply Last reply Mar 22, 2024, 11:01 AM Reply Quote 0
                              • R
                                rtorres Rebel Alliance @Bob.Dig
                                last edited by rtorres Mar 22, 2024, 11:07 AM Mar 22, 2024, 11:01 AM

                                @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 :)

                                B 1 Reply Last reply Mar 22, 2024, 11:11 AM Reply Quote 1
                                • B
                                  Bob.Dig LAYER 8 @rtorres
                                  last edited by Bob.Dig Mar 22, 2024, 11:21 AM Mar 22, 2024, 11:11 AM

                                  @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
                                  • B
                                    Bob.Dig LAYER 8
                                    last edited by Bob.Dig Mar 22, 2024, 1:49 PM Mar 22, 2024, 1:27 PM

                                    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?

                                    R 1 Reply Last reply Mar 23, 2024, 12:24 AM Reply Quote 0
                                    • R
                                      rtorres Rebel Alliance @Bob.Dig
                                      last edited by rtorres Mar 23, 2024, 12:31 AM Mar 23, 2024, 12:24 AM

                                      @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

                                      B 1 Reply Last reply Mar 23, 2024, 7:07 AM Reply Quote 0
                                      • B
                                        Bob.Dig LAYER 8 @rtorres
                                        last edited by Mar 23, 2024, 7:07 AM

                                        @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 Oct 22, 2024, 6:46 PM Oct 20, 2024, 8:51 PM

                                          @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 Oct 22, 2024, 9:39 AM Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]