Tag Archives: setup

Wireguard. Installation

Hi,

these are the steps to install and configure wireguard on a raspberry pi as server.

michael@debdev ~ # sudo apt install wireguard

Generate the server private key

michael@debdev ~ # wg genkey
cNJnQwITOsONCZLpp1G6daBSvgvUBd3gzqQXLMuijmc=

And generate the clients private key

michael@debdev ~ # wg genkey

Create the servers config file

michael@debdev ~ # vi /etc/wireguard/wg0.conf
[Interface]
Address =  10.10.2.1/24
ListenPort = 58888
PrivateKey = cF6Yl9k661OSZFzgBlN7OPEotc9qAS0+GzB14wh16UU=

# Peer 1: WorkingLaptop
[Peer]
PublicKey = WtEJQKNTlX4HfIihoUW630rseGG+3KM6lC1Xv7ewrUQ=
AllowedIPs = 10.10.2.10/32

Enable config wg0

michael@debdev ~ # sudo systemctl enable wg-quick@wg0
michael@debdev ~ # sudo systemctl start wg-quick@wg0

Create a client config

[Interface]
PrivateKey = EDk0yjxBltW0kyJfCzysBqRXWB2X+8mmvN1VylOSZ1g=
Address = 10.10.2.10/24
DNS = 10.10.2.1

[Peer]
PublicKey = AsQUJtZLgHdgKBw0i6X1CiQZ/j7yF/vJl02OVZ4Ai1k=
Endpoint = myyour.vpnserver.org:58888
# Route all traffic through VPN
# AllowedIPs = 0.0.0.0/0
# Route only specific subnets through VPN. Pushing routes from server not possible
AllowedIPs = 10.11.1.0/24, 172.16.31.0/24
michael@debdev ~ # 

Windows Hints

"C:\Program Files\WireGuard\wireguard.exe" /installtunnelservice  %~dp0home.conf

sc stop WireGuardTunnel$home
sc start WireGuardTunnel$home

sc config  WireGuardTunnel$home start=disabled

"C:\Program Files\WireGuard\wg.exe" show

Linux

ESPEasy: Flashing a ESP8266 with espeasy

Hi,

Download the latest release release file
Continue reading ESPEasy: Flashing a ESP8266 with espeasy →

Samba: Setup an Active Directory









Hi,

unfortunately Microsoft has deceided to discontinue its Small Buisiness Server and for small environments you not really want to buy an Windows Server and install them as an Active Directory Domain Controller. When Microsofts Cloud isn’t also an option then you can use Samba :-).
Continue reading Samba: Setup an Active Directory →

VMware: Setup HTML5 Client for vSphere 6.0 with vCenter on Windows

Hi,

these are there the steps to setup the new HTML5 Client within an vSphere 6 environment.

Continue reading VMware: Setup HTML5 Client for vSphere 6.0 with vCenter on Windows →

Openssl: Setup an intermediate CA

Hi,

first ramp up your root CA as described in my previous post.
Steps to create a intermediate CA. Create the intermediate CA structure in filesystem
Continue reading Openssl: Setup an intermediate CA →