OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • wireguard not get vpn conection after change from plugin to os pls help
« previous next »
  • Print
Pages: [1]

Author Topic: wireguard not get vpn conection after change from plugin to os pls help  (Read 2255 times)

harrym888

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
wireguard not get vpn conection after change from plugin to os pls help
« on: January 23, 2024, 06:48:33 am »
Hi i have a wireguard client to my vpn, in the past version in the interface section i put the info of my vpn provider, but only put always private key and the public key always empty, now in this version i cant save changes without put a public key, but not have in interface

expample vpn provider config:

[Interface]

PrivateKey = CLIENT_PRIVATE_KEY

Address = 10.0.0.11/24

DNS = 10.0.0.1

 

[Peer]

PublicKey = SERVER_PUBLIC_KEY

Endpoint = SERVER_IP_ADDRESS:51820

AllowedIPs = 0.0.0.0/0
Logged

sofax

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: wireguard not get vpn conection after change from plugin to os pls help
« Reply #1 on: January 23, 2024, 07:54:41 am »
Your instance always needs a public and a private key pair.
For the peers, you only need the public key of the other side.
Generate a new key pair and add the new public key to your provider.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • wireguard not get vpn conection after change from plugin to os pls help
 

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