From bc8ef0851dee085d2c7aada1fad1286f75889a99 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Tue, 10 Mar 2020 22:56:23 +0100 Subject: WIP doc --- pkg/tcpip/sample/wg_tunnel/README | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkg/tcpip/sample/wg_tunnel/README b/pkg/tcpip/sample/wg_tunnel/README index ee3fd9f8a..32eb75184 100644 --- a/pkg/tcpip/sample/wg_tunnel/README +++ b/pkg/tcpip/sample/wg_tunnel/README @@ -1,11 +1,5 @@ /go/bin/go mod edit -replace="github.com/insomniacslk/dhcp@v0.0.0=golang.m7n.se/insomniacslk-dhcp@v0.0.0" -sudo ip tuntap add tun1 mode tun -sudo ip l set up tun1 -sudo ip a a 10.1.1.1/24 dev tun1 -sudo ip r a 10.1.2.0/24 dev tun1 -ping 10.1.2.1 -ping 10.1.2.2 - -./wg_tunnel 10003 +sudo ./setup tun tun1 +sudo ./wg_tunnel 10003 -- cgit v1.2.3