water icon indicating copy to clipboard operation
water copied to clipboard

A simple TUN/TAP library written in native Go.

Results 28 water issues
Sort by recently updated
recently updated
newest added

Hi i checked the sample from the readme and im happy that it works as expected, would like to ask if there's a chance that i can use the tun...

on windows env, installed OpenVPN client. but TAP and TUN driver not connected. run program ``` ifce, err := water.New(water.Config{ DeviceType: water.TUN, }) if err != nil { log.Fatal(err) }...

Running windows 10, I had to add the lines ```go PlatformSpecificParams: water.PlatformSpecificParams{ ComponentID: "root\\tap0901", }, ``` in order to get it to work. I have added this to the readme...

Consider being compatible with wintun or wintap, because wintun only needs a dll, no need to install...

I write a simple piece of test code on windows. after I startup the program, I set ip address of 10.8.0.6 , mask 255.255.0.0 Then I set a route via...

Closes #85 Thought I would put up the PR for the issue I mentioned. This works on Linux, untested on macOS and Windows (I doubt it would work though as...

Hey there. Thanks for this library! I've been using it for a personal project. I added some changes to get/set MAC addresses for linux on my fork using syscalls. Would...

There is a new way to support TAP interface for macOS later than 10.13 without TunTapOSXDriver. Please see: https://www.zerotier.com/2019/08/21/how-zerotier-eliminated-kernel-extensions-on-macos/

This adds support for OpenBSD (tested) and also possibly FreeBSD (untested, but builds without error). With some very minor tweaks, this code could also potentially support NetBSD, DragonflyBSD and Solaris.