Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Unable to establish more than one Wireguard vpn tunnel
« previous
next »
Print
Pages: [
1
]
Author
Topic: Unable to establish more than one Wireguard vpn tunnel (Read 3736 times)
notrox
Newbie
Posts: 6
Karma: 0
Unable to establish more than one Wireguard vpn tunnel
«
on:
May 20, 2021, 03:41:01 pm »
I am having an issue where I can't establish more than one Wireguard vpn tunnel at once. I can bring one tunnel down and the other up and it works fine.
Logged
Cosmic
Newbie
Posts: 4
Karma: 0
Re: Unable to establish more than one Wireguard vpn tunnel
«
Reply #1 on:
May 20, 2021, 06:02:50 pm »
Are you changing the listen port example first Wireguard vpn listen port 51820 2nd 51821 etc.
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: Unable to establish more than one Wireguard vpn tunnel
«
Reply #2 on:
May 21, 2021, 09:29:48 am »
Check also that the Endpoint configs on OPNsense don’t have overlapping Allowed IPs
Logged
deeler
Newbie
Posts: 15
Karma: 1
Re: Unable to establish more than one Wireguard vpn tunnel
«
Reply #3 on:
May 21, 2021, 01:24:22 pm »
I didn't even know you had to make a local config for every remote client. Is that so?
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: Unable to establish more than one Wireguard vpn tunnel
«
Reply #4 on:
May 21, 2021, 01:31:59 pm »
Nope. If this is a road warrior setup (multiple remote clients connecting to OPNsense) you just need one WG device on OPNsense
Logged
notrox
Newbie
Posts: 6
Karma: 0
Re: Unable to establish more than one Wireguard vpn tunnel
«
Reply #5 on:
May 21, 2021, 07:37:11 pm »
I changed the local configuration for the second tunnel to 51821 and the connection is established now. Traffic doesn't seem to be going across it. I'm I am routing certain hosts part of the same /24 out separate tunnels will that not work? I have 0.0.0.0/0 as part of my allowed ip's for both tunnels.
Logged
Greelan
Hero Member
Posts: 1028
Karma: 72
Re: Unable to establish more than one Wireguard vpn tunnel
«
Reply #6 on:
May 21, 2021, 10:40:16 pm »
You will have to explain what you are trying to achieve, as without that it is impossible to advise
Logged
astuckey
Newbie
Posts: 31
Karma: 1
Re: Unable to establish more than one Wireguard vpn tunnel
«
Reply #7 on:
May 31, 2021, 06:26:17 am »
Check the firewall rules for the generic interface called "WireGuard", this needs to allow traffic, will drop traffic running over the tunnel by default.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Unable to establish more than one Wireguard vpn tunnel