Received: from mail1.systemli.org (mail1.systemli.org [198.167.223.214]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 2EB24781A30 for <~alpine/users@lists.alpinelinux.org>; Sat, 23 Nov 2019 14:13:18 +0000 (UTC) To: ~alpine/users@lists.alpinelinux.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemli.org; s=default; t=1574518397; bh=WvssCUIpMsVIIMCnSv3WQ8yJ3g6ghH8xQhbyy3Gp9X0=; h=To:From:Subject:Date:From; b=tZcKzhgT/thaFxvYgakTS3+few6BulLbfLV6dPl7GyawivUSiwmFe+W0ow5urNm4I YDsKXYM/wuaCCTOJyR+2CX+Iho7d4Ieo7/u2bAc31xwHwczeYIW0jJbL9ScFXXols2 RBgXEFhqDu/CzA/yblwqJCFyvhRpE6y2stLNaUWjKPEkGgUjEkwAgLyeHK07JmtDPx TKqJ/xaegDGP91BVLYCB1yY05fxK7NzvGKUwtySEwNe+jLY3PArXvQyaw6wC3YfEV3 MLalmIlSKMXp50q54t69j86GnXN8fQPgdnOpYYUkzmCb5SI1GyCbjFQ5hdIiODm11S TpI8jT1Y8PJxg== From: Dieter Subject: Starting Wireguard on boot / Wireguard Init Script Message-ID: <9e8eb38a-9f4a-64af-9dfe-271714609fb5@systemli.org> Date: Sat, 23 Nov 2019 15:13:16 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: de-CH Hi, I want to start my wireguard vpn on my alpine VM on boot. The VPN works fine when I start it with "sudo wg-quick up wg0" but I dont want to do that every one and also I need to be able to reboot the VM when Im not at home. I found the documentation in the wiki a bit confusing. Also it says that its still work in progrss. https://wiki.alpinelinux.org/wiki/Writing_Init_Scripts Can I just make alpine execute "sudo wg-quick up wg0" after boot? Is there a wireguard init script somewhere already that I can use? Or could you show me an example init script? thanks in advance