Skip to content

Commit

Permalink
Merge pull request #124 from lbrlabs/ipv6_forwarding
Browse files Browse the repository at this point in the history
feat(cloud-instances): enable IPv6 forwarding on eth0 for AWS and Azure
  • Loading branch information
jaxxstorm committed May 30, 2024
2 parents 6826de7 + fa7022b commit c8ee9e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions provider/pkg/provider/aws/userdata.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ sudo systemctl start amazon-ssm-agent

echo "set some kernel values"
sudo sysctl -w net.ipv4.ip_forward=1
sudo sysctl -w net.ipv6.conf.all.forwarding=1

echo "install jq"
sudo yum install -y jq
Expand Down
1 change: 1 addition & 0 deletions provider/pkg/provider/azure/userdata.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

echo "set some kernel values"
sudo sysctl -w net.ipv4.ip_forward=1
sudo sysctl -w net.ipv6.conf.all.forwarding=1

echo "Installing Tailscale"
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/focal.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null
Expand Down

0 comments on commit c8ee9e0

Please sign in to comment.