Hi there cagsm! I use WG on openWRT routers works a charm and is absolutely trivial as basic support is built in to the Linux kernel. To set up get the wireguard-tools binaries, on 15.2 a quick zypper search returns: Information for package wireguard-tools: ---------------------------------------- Repository : openSUSE-Leap-15.2-Oss Name : wireguard-tools Version : 1.0.20200513-lp152.1.1 Arch : x86_64 Vendor : openSUSE So: "zypper in wireguard-tools" will get you the Version 1.0.20200513 binaries. All you need is at least one side to be able to reach the other in order for key exchange for encryption and set up the link. Here are some scripts and config files that should work fine: *Server or fixed IP side* _Server.sh_ #!/bin/ash ip link add dev wg0 type wireguard ip address add dev wg0 10.0.0.1/24 wg setconf wg0 serverWG0.conf ip link set wg0 up _serverWG0.conf_ [Interface] ListenPort = 51820 PrivateKey = YourServerPrivatekey= [Peer] PublicKey = YourClientPublicKey= PresharedKey = YourPreSharedkey= AllowedIPs = 10.0.0.2/32 PersistentKeepalive = 25 *Remote or dynamic side* _WGremote.sh_ #!/bin/ash ip link add dev wg0 type wireguard ip address add dev wg0 10.0.0.2/24 wg setconf wg0 remoteWG0.conf ip link set wg0 up _remoteWG0.conf_ [Interface] ListenPort = 56285 PrivateKey = YourClientPrivatekey= [Peer] PublicKey = YourServerPublicKey= PresharedKey = YourPreSharedkey= AllowedIPs = 10.0.0.1/32 Endpoint = your.server.domain:51820 PersistentKeepalive = 25 Don't forget to open port 56285 (or whatever you choose) on your firewall. As for site-to-site bear in mind WG is Layer 3 so you you will have to explicitly route traffic via the WG link. Have a lot of Fun! Ariez ajv@opensuse.org On 24/11/2020 20:35, cagsm wrote:
Hello users-list @ opensuse
anyone using current wireguard on current opensuse leap 15.2? I see very few posts on the list server archives. I read about some new version 0.3.1 windows client. I suppose wireguard on the server side is linux only?
How current and up-to-date is wireguard server side on opensuse leap 15.2?
I like the archlinux documentation pages for a lot of topics https://wiki.archlinux.org/index.php/WireGuard
I fail to find some version number or understanding of the linux side wireguard in terms of release or version numbers. does 0.3.1 on the windows client side has got to do anything with the server side version?
Also wondering why https://software.opensuse.org/package/wireguard
apparently leap 15.1 has some official wireguard package that has a higher version string or date string that leap 15.2 or even tumbleweed?
I am also trying to dig into site-to-site (both linux) connections.
TY. _______________________________________________ openSUSE Users mailing list -- users@lists.opensuse.org To unsubscribe, email users-leave@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/users@lists.opensuse.org