TopGit theo dõi moby/vpnkit trên GitHub, đã đạt 1.2k sao. A toolkit for embedding VPN capabilities in your application
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
VPNKit is a set of tools and services for helping HyperKit
VMs interoperate with host VPN configurations.
Building on Unix (including Mac)
First install wget, opam, pkg-config, and dylibbundler using your
package manager of choice.
Building with opam
If you are an existing opam user then you can either build against your
existing opam package universe, or the custom universe contained in this
repo.
To set up the OCaml build environment, type:
make ocaml
To install the OCaml dependencies, type:
make depends
To build:
make
When the build succeeds the vpnkit binary should be available in
_build/install/default/bin/vpnkit.
Building with Dune
Alternatively you can use Dune package management to download and install the
dependencies automatically:
dune build --workspace=dune-workspace.ci
When the build succeeds the vpnkit binary should be available in
_build/install/default/bin/vpnkit.
You can also automatically build and execute the vpnkit binary:
dune exec --workspace=dune-workspace.ci vpnkit
Building on Windows
First install the OCaml environment with Cygwin.
Note that although the Cygwin tools are needed for the build scripts, Cygwin itself will not
be linked to the final executable.
Inside the OCaml64 (Cygwin) shell, unset the OPAMROOT environment and build by:
unset OPAMROOT
make
The first build will take a little longer as it will build all the package dependencies first.
When the build succeeds the vpnkit.exe binary should be available in the current directory.
Running with hyperkit
First ask vpnkit to listen for ethernet connections on a local Unix domain socket:
vpnkit --ethernet /tmp/ethernet --debug
Next ask com.docker.hyperkit to connect a NIC to this
socket by adding a command-line option like -s 2:0,virtio-vpnkit,path=/tmp/ethernet. Note:
you may need to change the slot 2:0 to a free slot in your VM configuration.
Why is this needed?
Running a VM usually involves modifying the network configuration on the host, for example
by activating Ethernet bridges, new routing table entries, DNS and firewall/NAT configurations.
Activating a VPN involves modifying the same routing tables, DNS and firewall/NAT configurations
and therefore there can be a clash -- this often results in the network connection to the VM
being disconnected.
VPNKit, part of HyperKit
attempts to work nicely with VPN software by intercepting the VM traffic at the Ethernet level,
parsing and understanding protocols like NTP, DNS, UDP, TCP and doing the "right thing" with
respect to the host's VPN configuration.
VPNKit operates by reconstructing Ethernet traffic from the VM and translating it into the
relevant socket API calls on OSX or Windows. This allows the host application to generate
traffic without requiring low-level Ethernet bridging support.
Design
Using vpnkit as a default gateway: describes the flow of ethernet traffic to/from the VM
Port forwarding: describes how ports are forwarded from the host into the VM
Experimental transparent HTTP proxy: describes the
experimental support for transparent HTTP(S) proxying
Licensing
VPNKit is licensed under the Apache License, Version 2.0. See
LICENSE for the full
license text.
Contributions are welcome under the terms of this license. You may wish to browse
the weekly reports to read about overall activity in the repository.
moby/vpnkit có 1.2k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/moby/vpnkit. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
moby/vpnkit có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho moby/vpnkit. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
moby/vpnkit còn đang phát triển không?
Commit gần nhất trên moby/vpnkit là 27 ngày trước (theo timestamp GitHub). Repo có 213 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
moby/vpnkit là gì?
moby/vpnkit (moby/vpnkit) là dự án OCaml trên GitHub. Theo mô tả gốc: A toolkit for embedding VPN capabilities in your application
moby/vpnkit viết bằng ngôn ngữ gì?
moby/vpnkit chủ yếu viết bằng OCaml. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc vpnkit có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về vpnkit.