tsblock

command module
v0.0.0-...-88177b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2023 License: GPL-3.0 Imports: 16 Imported by: 0

README

tsblock

Licensed under GPL-3.0 CI

tsblock prevents Tailscale from using specific network interfaces.

tsblock is developed to work around tailscale/tailscale#7594. Currently, interfaces whose name matches ^vxlan\.calico$|^cali are blocked. The pattern is hard-coded in main.go.

Requirements

  • Tailscale must be running as a systemd service.
  • tsblock must run as root. It is recommended to run tsblock as a systemd service.

How it works

tsblock utilizes eBPF to drop packets sent from tailscaled.service systemd unit.

Install

go build
sudo ./systemd/install.sh
sudo systemctl daemon-reload
sudo systemctl enable --now tsblock.service

Uninstall

sudo systemctl disable --now tsblock.service
sudo ./systemd/uninstall.sh

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL