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

Peer for each mobile client?(SOLVED)

Scheduled Pinned Locked Moved WireGuard
5 Posts 3 Posters 1.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.
  • P
    periko
    last edited by periko Feb 23, 2021, 7:13 AM Feb 22, 2021, 5:04 AM

    Hello guys, I would like to setup WireGuard for mobile clients(Android).

    I setup the tunnel, done.

    For each mobile device we have to setup a peer?
    Them on my mobile device I see that we have to setup manually the address.

    If I have 30 mobile devices, will be 30 peers for that tunnel?

    Other thing, exist a way to route all the traffic from my mobile device over Pfsense-wg tunnel?

    Regards!!!

    Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
    www.bajaopensolutions.com
    https://www.facebook.com/BajaOpenSolutions
    Quieres aprender PfSense, visita mi canal de youtube:
    https://www.youtube.com/c/PedroMorenoBOS

    1 Reply Last reply Reply Quote 0
    • M
      MikeV7896
      last edited by Feb 22, 2021, 9:49 PM

      Yes, the way WireGuard works, you need to create a peer for each device.

      There had been some discussion prior to release about being able to generate a QR code, which could be scanned by the WireGuard mobile app to auto-configure the client... not sure if/when that might come to be.

      The S in IOT stands for Security

      P 1 Reply Last reply Feb 23, 2021, 7:13 AM Reply Quote 0
      • P
        periko @MikeV7896
        last edited by Feb 23, 2021, 7:13 AM

        @virgiliomi thanks, question answer.

        Maybe that feature will for pf+, I had seen that feature on Linux groups.

        Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
        www.bajaopensolutions.com
        https://www.facebook.com/BajaOpenSolutions
        Quieres aprender PfSense, visita mi canal de youtube:
        https://www.youtube.com/c/PedroMorenoBOS

        M J 2 Replies Last reply Feb 23, 2021, 11:06 AM Reply Quote 0
        • M
          MikeV7896 @periko
          last edited by Feb 23, 2021, 11:06 AM

          @periko There's a website that can generate the QR code from a config file... the site claims that the code to create the QR code runs entirely within the browser, so their server never sees your config info. Shouldn't be hard to validate whether that's the case, but that might be another way to generate them in the meantime.

          The S in IOT stands for Security

          1 Reply Last reply Reply Quote 0
          • J
            JeGr LAYER 8 Moderator @periko
            last edited by JeGr Feb 23, 2021, 11:15 AM Feb 23, 2021, 11:13 AM

            @periko said in Peer for each mobile client?(SOLVED):

            @virgiliomi thanks, question answer.

            Maybe that feature will for pf+, I had seen that feature on Linux groups.

            That has nothing to do with plus or not, the QR code logic is already there. Just read the posts from jimp:

            https://forum.netgate.com/post/960960

            Long story short, they are working on it, but it's not that "simple" as just create a QR code as WG treats every peer the same so it's not just a "client export" thingy but the exporter has to be flexible as to the settings the user wants the device to have.

            Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

            If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

            1 Reply Last reply Reply Quote 1
            4 out of 5
            • First post
              4/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received