Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Wireguard Broken after Successful Upgrade
« previous
next »
Print
Pages:
1
2
3
[
4
]
Author
Topic: Wireguard Broken after Successful Upgrade (Read 16770 times)
Schubbie
Full Member
Posts: 100
Karma: 0
Re: Wireguard Broken after Successful Upgrade
«
Reply #45 on:
January 05, 2021, 08:21:36 pm »
Is this enough information?
Logged
chemlud
Hero Member
Posts: 2485
Karma: 112
Re: Wireguard Broken after Successful Upgrade
«
Reply #46 on:
January 05, 2021, 09:55:29 pm »
Local Config: Tunnel IP 10.10.11.1/24
Remote Config: "erlaubte IPs" does not include 10.10.11.1/32
Can't check if your Alias for the WAN port is correct (50315)
Set your WAN rule to logging / do a package capture and look if any packages arrive at your WAN...
«
Last Edit: January 05, 2021, 09:59:33 pm by chemlud
»
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
Schubbie
Full Member
Posts: 100
Karma: 0
Re: Wireguard Broken after Successful Upgrade
«
Reply #47 on:
January 07, 2021, 01:30:14 am »
Local Config: Tunnel IP changed
Remote Config: "erlaubte IPs" added, but this should not necessary
Alias is correct
I can´t see any packets that belongs to Wireguard.
Wireguard is listen but i can´t get a handshake :-(
It ran straight away when it was set up a few months ago, but now it no longer works ...
Logged
chemlud
Hero Member
Posts: 2485
Karma: 112
Re: Wireguard Broken after Successful Upgrade
«
Reply #48 on:
January 07, 2021, 08:51:34 am »
If nothing reaches the sense, the problem must be on the client or ISP-side, I guess...
You do a package capture on the sense for WAN interface port 50315?
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
Schubbie
Full Member
Posts: 100
Karma: 0
Re: Wireguard Broken after Successful Upgrade
«
Reply #49 on:
January 07, 2021, 09:19:07 am »
I've tried it with Windows and Android Client.
My VM on a Synology NAS works. I've copied the Client Configuration and changed Keys, iP and Port.
Yes, find no traffic on Port 50315.
I've tried IP 192.168.153.1:50315 and 10.10.11.1:50315 instead FQDN:50315 from my Network.
Logged
chemlud
Hero Member
Posts: 2485
Karma: 112
Re: Wireguard Broken after Successful Upgrade
«
Reply #50 on:
January 07, 2021, 09:37:25 am »
You try from LAN side? Not from mobile network?
Your "Endpunkt" in the client config is the domain name from your dynDNS provider for the WAN IP, correct? And it's updated and a public IP?
If nothing reaches the WAN port, it should not be a problem with the generate keys (don't modify them manually, only the automatically generated key pairs will work).
«
Last Edit: January 07, 2021, 09:40:52 am by chemlud
»
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
felix eichhorns premium katzenfutter mit der extraportion energie
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
Schubbie
Full Member
Posts: 100
Karma: 0
Re: Wireguard Broken after Successful Upgrade
«
Reply #51 on:
January 07, 2021, 10:31:01 am »
I've tried from Mobile and LAN.
Yes, the Endpoint is my DynDNS, I've set an internal forwarding, so the Traffic should not leave the Sense, if the client is in my Network to avoid loops.
I've reconfigured an reinstalled it several times, but it runs only the first time still to the Update a few months before.
Logged
Schubbie
Full Member
Posts: 100
Karma: 0
Re: Wireguard Broken after Successful Upgrade
«
Reply #52 on:
January 27, 2021, 11:53:44 pm »
Hello,
I haven't had time for further tests, but I just discovered the widget on the dashboard. Shouldn't something be shown in the widget? The instances in Wireguard are active.
It looks like my assumption is confirmed by the fact that Wireguard is not taking over the settings, right?
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: Wireguard Broken after Successful Upgrade
«
Reply #53 on:
January 28, 2021, 04:22:46 am »
Couple of comments:
It looks like you have put the same public key in both the local config and the endpoint config on OPNsense? And the same key is in the local and endpoint configs on the client? The client public key needs to go in the endpoint on OPNsense, and the OPNsense public key in the endpoint on the client.
On the client, specify the local tunnel IP as 10.10.11.4/24 so that it is part of the same subnet.
Logged
Schubbie
Full Member
Posts: 100
Karma: 0
Re: Wireguard Broken after Successful Upgrade
«
Reply #54 on:
January 28, 2021, 09:03:09 am »
Hello,
yes, ich checked the Keys several Times and have it configured several times.
I had given the Client the /24 IP and tried other IP-Ranges on both Sides.
But shouldn't shown something in the widget of the Dashboard even if no client is connected. In the Dashboard it seems like the service doesn't starts?
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: Wireguard Broken after Successful Upgrade
«
Reply #55 on:
January 28, 2021, 09:14:03 am »
My point was that the key setup shown in your screenshots looks wrong and won’t work
As for the widget, yes you should see entries for enabled interfaces/endpoints - assuming they are properly configured. I suspect the fact that the key entries are wrong means that WG is refusing to enable them. But the widget is a distraction - better to focus on getting the configuration on OPNsense and the client right
Logged
Print
Pages:
1
2
3
[
4
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Wireguard Broken after Successful Upgrade