cd $GOPATH
go get -u -v github.com/dojiong/secretun/
显示:
github.com/dojiong/secretun (download)
github.com/dojiong/secretun
# github.com/dojiong/secretun
src/github.com/dojiong/secretun/linux_tun.go:13:10: fatal error: 'linux/if.h' file not found
#include <linux/if.h>
^~~~~~~~~~~~
1 error generated.
看到上面的“ 'linux/if.h' file not found”吗?说明这个vpn程序仅支持linux桌面系统。