-
Notifications
You must be signed in to change notification settings - Fork 0
Moving an Outline Server's Access Keys to a New Server
Ehsan Mohandesi edited this page May 18, 2023
·
4 revisions
One workaround to move your Outline server without your users being notified about it is to use the domain name instead of the server IP. The following explains how to do it.
- After the Outline server was created and you created the keys, just replace the server IP with the domain name. The following is an example.
ss://Y2hhY2hhMjAtaWV0Zi1wb2x5MTM0zNE43MVZ3SHE2a0xt@45.1.99.29:1727/?outline=1 => ss://Y2hhY2hhMjAtaWV0Zi1wb2x5MTM0zNE43MVZ3SHE2a0xt@ns1.yourdomain.com:1727/?outline=1
- Send the keys with domain names to the users.
In case your Outline server is detected by the repressive government and its IP is blocked, you can move the server to another IP address without your users even experiencing a glitch. Follow these steps.
- Create a new Outline server.
- Move the file
shadowbox_config.json
from the old server to the new server using the SCP command.
scp /opt/outline/persisted-state/shadowbox_config.json user@NEW_SERVER_IP:/opt/outline/persisted-state/
- Reboot the new server.
- Go to the website of your user domain name and point it to the new IP.
Use the access string that was generated when creating the new Outline server.