├── .devcontainer ├── Dockerfile.multi-arch └── devcontainer.json ├── .github └── workflows │ └── build.yml ├── .gitignore ├── .prometheus ├── docker-compose.yml ├── grafana │ ├── dashboards │ │ └── wg-relay-dashboard.json │ └── provisioning │ │ ├── dashboards │ │ └── dashboard.yml │ │ └── datasources │ │ └── prometheus.yml └── prometheus.yml ├── CLAUDE.md ├── LICENSE ├── Makefile ├── README.md ├── cmd └── daemon │ └── main.go ├── config.yaml ├── ebpf ├── gen.go ├── include │ ├── common.h │ ├── csum.h │ ├── metrics.h │ ├── nat.h │ ├── obfuscation.h │ └── packet.h ├── wg_forward_proxy.c ├── wg_forward_proxy_test.go ├── wg_reverse_proxy.c ├── wgforwardproxy_bpfeb.go ├── wgforwardproxy_bpfel.go ├── wgreverseproxy_bpfeb.go └── wgreverseproxy_bpfel.go ├── go.mod ├── go.sum ├── pkg ├── dataplane │ ├── config │ │ └── config.go │ ├── loader.go │ ├── maps │ │ └── maps.go │ └── proxy │ │ ├── forward.go │ │ └── reverse.go ├── maps │ └── metricsmap │ │ └── metricsmap.go ├── metrics │ └── collector.go └── monitor │ ├── statmonitor.go │ ├── statmonitor_test.go │ └── tableprinter.go └── setup-netns.sh /.devcontainer/Dockerfile.multi-arch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/.devcontainer/Dockerfile.multi-arch -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/.gitignore -------------------------------------------------------------------------------- /.prometheus/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/.prometheus/docker-compose.yml -------------------------------------------------------------------------------- /.prometheus/grafana/dashboards/wg-relay-dashboard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/.prometheus/grafana/dashboards/wg-relay-dashboard.json -------------------------------------------------------------------------------- /.prometheus/grafana/provisioning/dashboards/dashboard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/.prometheus/grafana/provisioning/dashboards/dashboard.yml -------------------------------------------------------------------------------- /.prometheus/grafana/provisioning/datasources/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/.prometheus/grafana/provisioning/datasources/prometheus.yml -------------------------------------------------------------------------------- /.prometheus/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/.prometheus/prometheus.yml -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/README.md -------------------------------------------------------------------------------- /cmd/daemon/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/cmd/daemon/main.go -------------------------------------------------------------------------------- /config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/config.yaml -------------------------------------------------------------------------------- /ebpf/gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/ebpf/gen.go -------------------------------------------------------------------------------- /ebpf/include/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/ebpf/include/common.h -------------------------------------------------------------------------------- /ebpf/include/csum.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/ebpf/include/csum.h -------------------------------------------------------------------------------- /ebpf/include/metrics.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/ebpf/include/metrics.h -------------------------------------------------------------------------------- /ebpf/include/nat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/ebpf/include/nat.h -------------------------------------------------------------------------------- /ebpf/include/obfuscation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/ebpf/include/obfuscation.h -------------------------------------------------------------------------------- /ebpf/include/packet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/ebpf/include/packet.h -------------------------------------------------------------------------------- /ebpf/wg_forward_proxy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/ebpf/wg_forward_proxy.c -------------------------------------------------------------------------------- /ebpf/wg_forward_proxy_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/ebpf/wg_forward_proxy_test.go -------------------------------------------------------------------------------- /ebpf/wg_reverse_proxy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/ebpf/wg_reverse_proxy.c -------------------------------------------------------------------------------- /ebpf/wgforwardproxy_bpfeb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/ebpf/wgforwardproxy_bpfeb.go -------------------------------------------------------------------------------- /ebpf/wgforwardproxy_bpfel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/ebpf/wgforwardproxy_bpfel.go -------------------------------------------------------------------------------- /ebpf/wgreverseproxy_bpfeb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/ebpf/wgreverseproxy_bpfeb.go -------------------------------------------------------------------------------- /ebpf/wgreverseproxy_bpfel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/ebpf/wgreverseproxy_bpfel.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/go.sum -------------------------------------------------------------------------------- /pkg/dataplane/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/pkg/dataplane/config/config.go -------------------------------------------------------------------------------- /pkg/dataplane/loader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/pkg/dataplane/loader.go -------------------------------------------------------------------------------- /pkg/dataplane/maps/maps.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/pkg/dataplane/maps/maps.go -------------------------------------------------------------------------------- /pkg/dataplane/proxy/forward.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/pkg/dataplane/proxy/forward.go -------------------------------------------------------------------------------- /pkg/dataplane/proxy/reverse.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/pkg/dataplane/proxy/reverse.go -------------------------------------------------------------------------------- /pkg/maps/metricsmap/metricsmap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/pkg/maps/metricsmap/metricsmap.go -------------------------------------------------------------------------------- /pkg/metrics/collector.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/pkg/metrics/collector.go -------------------------------------------------------------------------------- /pkg/monitor/statmonitor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/pkg/monitor/statmonitor.go -------------------------------------------------------------------------------- /pkg/monitor/statmonitor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/pkg/monitor/statmonitor_test.go -------------------------------------------------------------------------------- /pkg/monitor/tableprinter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/pkg/monitor/tableprinter.go -------------------------------------------------------------------------------- /setup-netns.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stillya/wg-relay/HEAD/setup-netns.sh --------------------------------------------------------------------------------