Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
wireguard peer generator - QR code is invalid
« previous
next »
Print
Pages: [
1
]
Author
Topic: wireguard peer generator - QR code is invalid (Read 522 times)
planetf1
Newbie
Posts: 16
Karma: 0
wireguard peer generator - QR code is invalid
«
on:
April 21, 2024, 01:30:33 pm »
opnsense 24.1.6 : I've created a wireguard interface, and used the peer generator to generate a configuration for an iOS device.
I did add a pre-shared key, and have also specified a DNS server, and also tried a keepalive (optional)
When using the *official* wireguard app on IOS, I get 'Invalid QR code' (with or without the PSK)
Is this expected to work?
«
Last Edit: April 21, 2024, 01:33:48 pm by planetf1
»
Logged
planetf1
Newbie
Posts: 16
Karma: 0
Re: wireguard peer generator - QR code is invalid
«
Reply #1 on:
April 21, 2024, 01:34:35 pm »
The generated config is:
[Interface]
PrivateKey = longkey
Address = 10.10.10.2/32
DNS = 9.9.9.9
[Peer]
PublicKey =
PresharedKey = longpsk
Endpoint = 1.2.3.4
AllowedIPs = 0.0.0.0/0,::/0
PersistentKeepalive = 90
Logged
greeno
Jr. Member
Posts: 71
Karma: 0
Re: wireguard peer generator - QR code is invalid
«
Reply #2 on:
April 21, 2024, 06:38:25 pm »
I've tried that also, same error !...
Logged
MoonbeamFrame
Jr. Member
Posts: 64
Karma: 2
Re: wireguard peer generator - QR code is invalid
«
Reply #3 on:
April 21, 2024, 06:46:24 pm »
Could you be missing the end-point port number?
And presuming you have a peer PublicKey value.
Logged
banuseka
Newbie
Posts: 14
Karma: 0
Re: wireguard peer generator - QR code is invalid
«
Reply #4 on:
April 22, 2024, 09:17:56 am »
port number is key here, true.
But also, one note that the port is not transfered to the peer "endpoint port" field, that has to be adapted manually.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
wireguard peer generator - QR code is invalid