consistently use tun0 as the sample device name

from Bjorn Ketelaars
This commit is contained in:
jasper 2019-09-18 10:59:37 +00:00
parent d74015c4d3
commit 4cf063ec2d
2 changed files with 5 additions and 4 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.8 2019/09/04 16:50:23 jasper Exp $ # $OpenBSD: Makefile,v 1.9 2019/09/18 10:59:37 jasper Exp $
COMMENT = fast and secure VPN COMMENT = fast and secure VPN
V = 0.0.20190702 V = 0.0.20190702
DISTNAME = WireGuard-$V DISTNAME = WireGuard-$V
PKGNAME = wireguard-tools-$V PKGNAME = wireguard-tools-$V
REVISION = 0
EPOCH = 0 EPOCH = 0
CATEGORIES = net security CATEGORIES = net security

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.1 2019/05/14 15:03:18 jasper Exp $ $OpenBSD: README,v 1.2 2019/09/18 10:59:37 jasper Exp $
+------------------------------------------------------------------------------- +-------------------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD | Running ${PKGSTEM} on OpenBSD
@ -31,11 +31,11 @@ On wg1 a few setting are required:
Configure the tun0 interfaces for wg1: Configure the tun0 interfaces for wg1:
# ifconfig tun2 up 10.0.0.1 10.0.0.2 netmask 255.255.255.0 # ifconfig tun0 up 10.0.0.1 10.0.0.2 netmask 255.255.255.0
and wg2: and wg2:
# ifconfig tun2 up 10.0.0.2 10.0.0.1 netmask 255.255.255.0 # ifconfig tun0 up 10.0.0.2 10.0.0.1 netmask 255.255.255.0
Configure the wireguard_go service on both nodes: Configure the wireguard_go service on both nodes: