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

    Wireguard with 2 peers

    Scheduled Pinned Locked Moved WireGuard
    2 Posts 2 Posters 195 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.
    • D
      db858
      last edited by db858

      This is what I have:

      • Peer 1 (Android)
      • Peer 2 (Iphone)
      • Home Server (Wireguard)

      I want above 2 peers to be able to connect to wireguard through their respective mobile apps and be able to browse LAN and access internet using WireGuard.

      I assume I need to specify 0.0.0.0/0' for allowed IP for peers but.. I can only specify '0.0.0.0/0' for allowed IP for a single peer, if I specify the same for second peer, the first peer's 0.0.0.0/0 range will be removed. I've also noticed that when I specify this range for either peer, and restart wireguard interface my whole router needs restarting otherwise there is no network

      Can anyone suggest where can I start to accomplish my goal? I followed different tutorials but every single one says different things. Currently I have my WireGuard interface on LAN firewall with port forwarding to wireguard port

      I don't use any 3rd party services, wireguard is self hosted

      S 1 Reply Last reply Reply Quote 0
      • S
        slu @db858
        last edited by

        @db858

        Android:
        interface -> addresses is the client IP address for example 10.20.30.10/32
        peer -> "allowed IP" is for the destinations to route over the WireGuard tunnel

        pfSense:
        Allowed IPs is the client IP address 10.20.30.10/32

        pfSense Gold subscription

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