diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-03-10 22:56:23 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-03-17 20:06:04 +0100 |
commit | bc8ef0851dee085d2c7aada1fad1286f75889a99 (patch) | |
tree | 5824def87022244df72f42e861f6949ec9b0d550 | |
parent | b2d4ccf8ae00c077aa58b4c7af345752ae675149 (diff) |
WIP doc
-rw-r--r-- | pkg/tcpip/sample/wg_tunnel/README | 10 |
1 files 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 |