Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Wireguard - Setting up a second local fails
« previous
next »
Print
Pages: [
1
]
Author
Topic: Wireguard - Setting up a second local fails (Read 2564 times)
Alphaprot
Newbie
Posts: 2
Karma: 0
Wireguard - Setting up a second local fails
«
on:
January 08, 2020, 02:28:34 pm »
I use my OPNsense appliance to split my network into several VLANs. Now I'm trying to configure Wireguard so it provides multiple interfaces (one interface for each VLAN) in order to connect like this:
VPN1 --> VLAN1
VPN2 --> VLAN2
I've already got one VPN (access to my Management VLAN) up and running perfectly fine.
However, if I enable a second local point (with a different, unused private network as the tunnel address and a random port), Wireguard simply does not work at all anymore, shutting down the first VPN aswell.
Am I missing something? Please comment if you need the "Local"-Tunnel-Config of the Wireguard Plugin.
Cheers
Yannik
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Wireguard - Setting up a second local fails
«
Reply #1 on:
January 08, 2020, 03:10:18 pm »
Screenshots of both local instances and all linked endpoints.
Also interesting would be the output of
/usr/local/etc/rc.d/wireguard restart
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Alphaprot
Newbie
Posts: 2
Karma: 0
Re: Wireguard - Setting up a second local fails
«
Reply #2 on:
January 08, 2020, 04:01:50 pm »
Thanks for your quick reply, you find screenshots of the local/endpoint configuration attached in the imgur library.
Aaaand you nailed it
. Thank you very much for the last hint (restarting wireguard from shell). Guess what? Wrong key length/format..
But can you tell me how to create sufficient strings (base64-encoded, 32 chars if I remember correctly) in a Windows environment?
https://imgur.com/a/oljwKsr
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Wireguard - Setting up a second local fails
«
Reply #3 on:
January 08, 2020, 10:11:33 pm »
Have a look on WireGuard Website, it's something like wg genkey via console
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Wireguard - Setting up a second local fails