Created
February 28, 2024 07:03
-
-
Save stevefan1999-personal/f5ce7aa6904ea22b1544c59ce10401f2 to your computer and use it in GitHub Desktop.
Deny Tailscale to use Cilium as connection gateway
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo curl https://raw.githubusercontent.com/fernandoenzo/tailgate/master/systemd/tailgate-deny%40.service -o /etc/systemd/system/tailgate-deny\@.service | |
sudo mkdir -p /etc/systemd/system/tailscaled.service.d/ | |
sudo tee /etc/systemd/system/tailscaled.service.d/override.conf <<EOF | |
[Unit] | |
Wants=network-pre.target tailgate-deny@cilium_host.service | |
EOF | |
sudo systemctl daemon-reload | |
sudo systemctl restart tailscaled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment