Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
Why does WireGuard only support 20 connections
« previous
next »
Print
Pages: [
1
]
Author
Topic: Why does WireGuard only support 20 connections (Read 3295 times)
shaozhai
Newbie
Posts: 11
Karma: 0
Why does WireGuard only support 20 connections
«
on:
January 04, 2022, 02:04:44 pm »
Why does WireGuard only support 20 connections
Logged
Patrick M. Hausen
Hero Member
Posts: 6812
Karma: 572
Re: Why does WireGuard only support 20 connections
«
Reply #1 on:
January 04, 2022, 05:18:02 pm »
I supports only 20 instances. Each instance can support a multitude of separate connections to various endpoints. What's your reason to configure that many instances?
I do not know if this limit is in WireGuard or specific to the OPNsense implementation. I never needed more than 2 or three instances, though.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Why does WireGuard only support 20 connections
«
Reply #2 on:
January 04, 2022, 05:38:26 pm »
Its just a limitation of the early days where WG was unstable. I cant imagine where you need more than 10. Only if you use for every client a dedicated instance (for whatever reason)
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
shaozhai
Newbie
Posts: 11
Karma: 0
Re: Why does WireGuard only support 20 connections
«
Reply #3 on:
January 04, 2022, 11:44:48 pm »
I go from site to site and have many branches. Can you tell me how to remove this restriction?
Logged
Patrick M. Hausen
Hero Member
Posts: 6812
Karma: 572
Re: Why does WireGuard only support 20 connections
«
Reply #4 on:
January 04, 2022, 11:49:18 pm »
But you need just one instance and N endpoints to connect N branch offices to a HQ in a star topology ...
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
shaozhai
Newbie
Posts: 11
Karma: 0
Re: Why does WireGuard only support 20 connections
«
Reply #5 on:
January 05, 2022, 12:02:59 am »
I have more than 100 branches with different IP network segments. How do I set them?
Logged
Patrick M. Hausen
Hero Member
Posts: 6812
Karma: 572
Re: Why does WireGuard only support 20 connections
«
Reply #6 on:
January 05, 2022, 12:33:32 am »
All as endpoints with a single instance. You do not need a tunnel network! Just allowed networks and that's it.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
shaozhai
Newbie
Posts: 11
Karma: 0
Re: Why does WireGuard only support 20 connections
«
Reply #7 on:
January 05, 2022, 01:09:24 am »
Can this achieve interworking site?
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Why does WireGuard only support 20 connections
«
Reply #8 on:
January 05, 2022, 07:11:29 am »
Sure
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
»
English Forums
»
Virtual private networks
»
Why does WireGuard only support 20 connections