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

    Plex through surfshark wireguard pfsense vpn

    Scheduled Pinned Locked Moved General pfSense Questions
    77 Posts 6 Posters 7.2k 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
      Gblenn @jhmc93
      last edited by

      @jhmc93 Ah, so you are accessing pfsense remotely via your VPN? But then you should also be able to access your ISP router simply by adding it's IP range to the Allowed IP's list for your VPN client...

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

        High risk though if you get it wrong! 😉

        1 Reply Last reply Reply Quote 0
        • jhmc93J
          jhmc93 @Gblenn
          last edited by

          @Gblenn I’m using Tailscale to access my pfsense

          G 1 Reply Last reply Reply Quote 0
          • G
            Gblenn @jhmc93
            last edited by Gblenn

            @jhmc93 said in Plex through surfshark wireguard pfsense vpn:

            @Gblenn I’m using Tailscale to access my pfsense

            Ok same thing though, you need to add the IP of the ISP router to the subnet routers' allowed IP's.

            sudo tailscale up --advertise-routes=LAN-IP/24, ISP-router-IP/32 (or entire range)
            And make sure it's also "approved" in the admin console.

            jhmc93J 1 Reply Last reply Reply Quote 0
            • jhmc93J
              jhmc93 @Gblenn
              last edited by

              @Gblenn wouldn’t that be a security risk?

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

                You only need to route the ISP routers internal subnet since that's how you would be accessing it.

                However getting that config wrong could leave you unable to access anything until you get on site. That's the real risk IMO.

                jhmc93J 1 Reply Last reply Reply Quote 0
                • jhmc93J
                  jhmc93 @stephenw10
                  last edited by

                  @stephenw10 IMO?, what if my machines are connected to lan pfsense is that command u put still valid for that ?

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

                    I didn't put a command. I would add it in the gui so you don't end up removing any other subnets you are routing.

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      Gblenn @stephenw10
                      last edited by Gblenn

                      @stephenw10 said in Plex through surfshark wireguard pfsense vpn:

                      I didn't put a command. I would add it in the gui so you don't end up removing any other subnets you are routing.

                      Yes you are right of course. I happen to run them on various Linux machines and execute the command sudo tailscale up with any additional settings.

                      In my case it's the --advertise-routes=xxx.xxx.xx.x/24,nnn.nnn.nn.n/24 which defines the subnets that I am allowing my clients to access.

                      If you deploy it in pfsense it's different. Simply click add and enter your ISP routers LAN IP or entire subnet after the existing subnets.

                      561541a1-ab96-4bb8-ac23-85fd75928af8-image.png

                      Then the subnets will be visible in the admin gui when you log into the tailscale admin console at https://login.tailscale.com

                      For your respective subnet router, on the right you can access and control which subnets will actually be allowed to be used.

                      2fc3fc20-d523-4ad5-934b-1b42c7365dfb-image.png

                      jhmc93J 1 Reply Last reply Reply Quote 1
                      • jhmc93J
                        jhmc93 @Gblenn
                        last edited by

                        @Gblenn but does a pc have to have Tailscale on the isp router/modem side for me to access it in my pfsense lan

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

                          No, pfSense is the client here. As long as it's WAN side subnet is routed by tailscale a remote client will be able to access it.

                          jhmc93J 1 Reply Last reply Reply Quote 0
                          • jhmc93J
                            jhmc93 @stephenw10
                            last edited by

                            @stephenw10 how do I add the wan side in pfsense then?

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

                              As @Gblenn showed above. You need it to advertise that subnet to other tailscale clients that same as it's doing for the LAN.

                              But unless you really need this I would wait until you're on-site to revert any changes you might make accidentally.

                              jhmc93J 2 Replies Last reply Reply Quote 0
                              • jhmc93J
                                jhmc93 @stephenw10
                                last edited by

                                @stephenw10 ok will have a go

                                1 Reply Last reply Reply Quote 0
                                • jhmc93J
                                  jhmc93 @stephenw10
                                  last edited by

                                  @stephenw10 I have indirect connections on plex I don't know whether it's pfsense is causing it or not my setup is same as above

                                  G 1 Reply Last reply Reply Quote 0
                                  • G
                                    Gblenn @jhmc93
                                    last edited by

                                    @jhmc93 What do you mean with "indirect connections"?
                                    I tried reading through the thread to get back into the thinking here... Are you still running two separate networks with your wifi on the WAN side of pfsense?? Or have you cleaned it up so that you have everything on the correct side of pfsense??

                                    1 Reply Last reply Reply Quote 1
                                    • P
                                      Patch @jhmc93
                                      last edited by

                                      @jhmc93 said in Plex through surfshark wireguard pfsense vpn:

                                      my ISP router is also my modem, so it’s gotta be running to provide my internet. Also my pfsense only has LAN ports but no WiFi access, so I use my WiFi devices on my ISP/ Modem router and my pfsense for my proxmox clusters that run my media servers.

                                      You are making your life hard imo.
                                      Your system would be more maintainable if you

                                      • Put your ISP Modem/Router in bridge mode, so it functions purely as a Modem

                                      • Use pfsense as your router / firewall for all your LAN

                                      • Use a dedicated device / Access point for your wifi

                                      jhmc93J 1 Reply Last reply Reply Quote 1
                                      • jhmc93J
                                        jhmc93 @Patch
                                        last edited by

                                        @Patch pfsense doesn’t have a WiFi device to broadcast WiFi. Pfsense is a side step as it also ran off a power line network plug for just my media servers, so I narrowed it down so when I connect to my isp WiFi my Plex shows indirect connections but if I join my VPN program through my laptop it goes back a normal connection.

                                        P G 2 Replies Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          That seems expected if the Plex server is behind pfSense and the clients are in front of it.

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            Patch @jhmc93
                                            last edited by Patch

                                            @jhmc93 said in Plex through surfshark wireguard pfsense vpn:

                                            @Patch pfsense doesn’t have a WiFi device to broadcast WiFi.

                                            My recommendation is you use a dedicated WiFi access point.
                                            Doing so will give you a more capable and maintainable system

                                            I use UniFi access points with the controller running as a VM on Proxmox but there’s several good options

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