Skip to content

Instantly share code, notes, and snippets.

@debiansid
Forked from unixfox/howto.md
Last active January 21, 2024 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save debiansid/fed1fcfb17267a9fe3e42b0bc8c293d6 to your computer and use it in GitHub Desktop.
Save debiansid/fed1fcfb17267a9fe3e42b0bc8c293d6 to your computer and use it in GitHub Desktop.
Install Alpine Linux as home router with sing-box tproxy mode

Better tutorial (a little bit more complicated): https://gist.github.com/karolba/a3f1c5f8d50c67f5a19e6c8f38e53e12


  1. Download the "virtual" type aarch64 ISO file from https://www.alpinelinux.org/downloads/ with wget
  2. Execute sudo dd if=alpine.iso of=/dev/sda
  3. On the Oracle Cloud panel, setup a console connection and connect to the serial console.
  4. Execute sudo reboot
  5. When Alpine is launched and you are logged in as root, execute these commands in the serial console:
mkdir /media/setup
cp -a /media/sda/* /media/setup
mkdir /lib/setup
cp -a /.modloop/* /lib/setup
/etc/init.d/modloop stop
umount /dev/sda
mv /media/setup/* /media/sda/
mv /lib/setup/* /.modloop/
  1. Complete the setup with setup-alpine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment