Difference between revisions of "Wireguard"

From SME Server
Jump to navigationJump to search
Line 6: Line 6:
 
<!-- we define the language -->
 
<!-- we define the language -->
 
{{#vardefine:lang| {{lc:  {{#titleparts:    {{PAGENAME}} | | -1}}  }} |en }}
 
{{#vardefine:lang| {{lc:  {{#titleparts:    {{PAGENAME}} | | -1}}  }} |en }}
{{Infobox contribs
+
{{Warning box|this is still at alpha stage and only bits of contribs are currently being attached together.
 +
Do not use in production}}{{WIP box|This is a work in progress for the moment event the content of this page is not up to date. Please refer to dev RocketChat discussion and Bugs}}{{Infobox contribs
 
|name={{#var:contribname}}
 
|name={{#var:contribname}}
 
|image=Wireguard_logo.svg
 
|image=Wireguard_logo.svg
Line 13: Line 14:
 
|licence= GPLv2 for kernel modules, MIT, BSD, Apache 2.0, or GPL for other parts
 
|licence= GPLv2 for kernel modules, MIT, BSD, Apache 2.0, or GPL for other parts
 
|url= https://www.wireguard.com/
 
|url= https://www.wireguard.com/
|category= Category you want
+
|category= VPN
 
|tags=VPN,security,network,remote
 
|tags=VPN,security,network,remote
}}
+
|video=}}
  
 
===Maintainer===
 
===Maintainer===
Line 21: Line 22:
 
[[User:Unnilennium|Jean-Philippe Pialasse]]  
 
[[User:Unnilennium|Jean-Philippe Pialasse]]  
  
=== Version ===
+
===Version===
 
<!-- keep this first element as is, you can add some if needed -->
 
<!-- keep this first element as is, you can add some if needed -->
 
{{#smeversion: {{#var:smecontribname}} }}
 
{{#smeversion: {{#var:smecontribname}} }}
 
{{#smeversion: {{#var:contribname}} }}
 
{{#smeversion: {{#var:contribname}} }}
  
=== Description ===
+
===Description===
 
according to WireGuard website:
 
according to WireGuard website:
  
Line 32: Line 33:
  
  
=== Installation ===
+
===Installation===
 
<tabs container><tab name="For SME 10">
 
<tabs container><tab name="For SME 10">
 
  yum --enablerepo=smecontribs install {{#var:smecontribname}}
 
  yum --enablerepo=smecontribs install {{#var:smecontribname}}
 
</tab></tabs>
 
</tab></tabs>
  
=== Configuration ===
+
===Configuration===
 
you can list the available configuration with the following command :
 
you can list the available configuration with the following command :
 
  config show {{#var:contribname}}
 
  config show {{#var:contribname}}
Line 74: Line 75:
  
  
 +
===Sources of information===
  
=== Uninstall ===
+
* https://www.subnet-calculator.com/subnet.php?net_class=B
 +
* https://github.com/pirate/wireguard-docs
 +
* https://manpages.debian.org/unstable/wireguard-tools/wg.8.en.html
 +
* https://www.linuxbabe.com/centos/wireguard-vpn-server-centos
 +
*
 +
 
 +
<br />
 +
===Uninstall===
 
  yum remove {{#var:smecontribname}}  {{#var:contribname}}
 
  yum remove {{#var:smecontribname}}  {{#var:contribname}}
  
=== Bugs ===
+
===Bugs===
 
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title= bugzilla}}
 
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title= bugzilla}}
 
and select the {{#var:smecontribname}} component or use {{BugzillaFileBug|product=SME%20Contribs|component={{#var:smecontribname}}|title=this link}}
 
and select the {{#var:smecontribname}} component or use {{BugzillaFileBug|product=SME%20Contribs|component={{#var:smecontribname}}|title=this link}}
Line 87: Line 96:
 
Only released version in smecontrib are listed here.
 
Only released version in smecontrib are listed here.
  
{{ #smechangelog: {{#var:smecontribname}} }}
+
{{#smechangelog: {{#var:smecontribname}} }}
  
  
Line 94: Line 103:
  
 
<!-- Please keep there the template revision  number as is -->
 
<!-- Please keep there the template revision  number as is -->
[[contribtemplate::2| ]]
 
[[contriblang:: {{#var:lang}} | ]]
 

Revision as of 20:17, 28 June 2021




Warning.png Warning:
this is still at alpha stage and only bits of contribs are currently being attached together.

Do not use in production


Warning.png Work in Progress:
This is a work in progress for the moment event the content of this page is not up to date. Please refer to dev RocketChat discussion and Bugs has marked this page as a Work in Progress. The contents off this page may be in flux, please have a look at this page history the to see list of changes.


wireguard
Wireguard logo.svg
wireguard logo
MaintainerUnnilennium
Urlhttps://www.wireguard.com/
LicenceGPLv2 for kernel modules, MIT, BSD, Apache 2.0, or GPL for other parts
Category

VPN

Tags VPNsecuritynetworkremote


Maintainer

Jean-Philippe Pialasse

Version

Devel 10:
Contrib 10:
smeserver-wireguard
The latest version of smeserver-wireguard is available in the SME repository, click on the version number(s) for more information.


wireguard
The latest version of wireguard is available in the SME repository, click on the version number(s) for more information.


Description

according to WireGuard website:

WireGuard® is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPsec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it is now cross-platform (Windows, macOS, BSD, iOS, Android) and widely deployable. It is currently under heavy development, but already it might be regarded as the most secure, easiest to use, and simplest VPN solution in the industry.


Installation

yum --enablerepo=smecontribs install smeserver-wireguard

Configuration

you can list the available configuration with the following command :

config show wireguard

Some of the properties are not shown, but are defaulted in a template or a script. Here a more comprehensive list with default and expected values :

property default values
DbName nextcloud string for mysql db
DbPassword GENERATED string for mysql db
DbUser nextcloud string for mysql db
access private private, public
status enabled enabled,disabled


Sources of information


Uninstall

yum remove smeserver-wireguard  wireguard

Bugs

Please raise bugs under the SME-Contribs section in bugzilla

and select the smeserver-wireguard component or use this link


Below is an overview of the current issues for this contrib:

IDProductVersionStatusSummary (7 tasks)
12492SME Contribs10.0RESOLVEDError in SM2 wireguard panel
11767SME ContribsFuturCONFIRMEDChange Smeserver (Wireguard) external IP address in Wireguard configuration for clients
11732SME Contribs10.0CONFIRMEDNFR: allow SME to connect to remote server
11729SME Contribs10.0CONFIRMEDdelete unused network
11728SME Contribs10.0CONFIRMEDNFR: add custom DNS field
11727SME Contribs10.0CONFIRMEDNFR: easy AllowedIPs configuration
11726SME Contribs10.0CONFIRMEDNFR: userpanel

Changelog

Only released version in smecontrib are listed here.

smeserver-wireguard Changelog: SME 10 (smecontribs)
2024/03/01 Brian Read 1.0-19.sme
- Edit SM2 Menu entry to conform to new arrangements [SME: 12493]
2022/12/26 Jean-Philippe Pialasse 1.0-18.sme
- remove masquerade and forward directive on startup [SME: 12288]
2022/11/11 Jean-Philippe Pialasse 1.0-17.sme
- apply locale 2022-11-11 patch

2022/05/29 Jean-Philippe Pialasse 1.0-16.sme
- improve check and tidying for non local network type [SME: 11771]

updated both legacy and new panel
2022/04/19 Michel Begue 1.0-15.sme
- Fix typos in templates