Basically you just need to use this command:
Meshtastic --set is_router true
Here’s some good links to read: