sing-box as a VPN router for my home

Can someone give me instructions on how I can set up sing-box on a Raspberry Pi and use it as a VPN router for my whole household?

Here is the idea - all my devices will route through the raspberry pi (with sing-box running) and it will communicate with my VPS running hysteria2.

I think I should install a sing-box client on the raspberry pi but how do I configure my router to route all traffic to the raspberry pi? Also the sing-box client, what should the config look like for it to act as a proxy?

1 Like

1, setup static ipaddress for rpi.
2, setup dhcp server(i am using isc-dhcp-server)
3, compile and setup sing-box.(config, systemd)
i create tutorial but really bad docs.