OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Virtual private networks »
  • Wireguard-go multiple endpoints question
« previous next »
  • Print
Pages: [1]

Author Topic: Wireguard-go multiple endpoints question  (Read 2328 times)

Imnot A Robot

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
    • View Profile
Wireguard-go multiple endpoints question
« on: December 01, 2021, 03:04:14 am »
Using Wireguard-go as roadwarrior is suiting my needs well as a single iPhone VPN. Problems arise when I try to add more endpoints because the configurations don't work as I imagined -- basically I thought I just add more endpoints and reuse the original Local Config, Public Key, and Tunnel Address.

In a nutshell, for each additional device, do I reuse the the local config's (Public Key, Tunnel Address) and just add additional endpoints or do I need to create completely new Local Config + Tunnel pairs for each additional device?


Thanks,
Chris
Logged

allebone

  • Sr. Member
  • ****
  • Posts: 374
  • Karma: 32
    • View Profile
Re: Wireguard-go multiple endpoints question
« Reply #1 on: December 01, 2021, 04:39:31 am »
No you only need one local config. You will need to check you are not missing steps when adding additional endpoints or misconfiguring.
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 1018
  • Karma: 69
    • View Profile
Wireguard-go multiple endpoints question
« Reply #2 on: December 01, 2021, 10:27:03 am »
Remember to use unique /32s for the other endpoints (within the tunnel /24) and to add them to the local config. You might also need to restart WG after doing so
« Last Edit: December 01, 2021, 11:42:07 am by Greelan »
Logged

Imnot A Robot

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
    • View Profile
Re: Wireguard-go multiple endpoints question
« Reply #3 on: December 01, 2021, 11:00:50 pm »
@Greelan,

Yet again! I highly appreciate your superb insight into solving my humble attempts to fully leverage this wonderful platform.

I try to be concise in my inquiries, but you somehow just know what little bit of information I need to get me over the top, i.e, the "unique /32s".

YOU ARE THE MAN!


Chris
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Virtual private networks »
  • Wireguard-go multiple endpoints question
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2