add tailscale scripts

This commit is contained in:
root
2026-01-31 00:17:02 +08:00
parent 044bd6c8a3
commit c5e6fdcbf5
30 changed files with 4 additions and 1 deletions

11
oracle-bind-ipv6.sh Executable file
View File

@@ -0,0 +1,11 @@
echo "Binding ipv6 to Oracle Cloud debian instance after configuring ipv6 (https://sunpma.com/1051.html)"
echo "If it failes, try 'sudo ifconfig' to get the correct nic name, because ubuntu use different names."
echo "If there is no 'ifconfig', run 'sudo apt install net-tools' at first"
echo "You can also reboot to automatically bind ipv6"
if [ `dpkg --print-architecture` = 'arm64']
then
sudo dhclient -6 enp0s3
else
sudo dhclient -6 ens3
if