Skip to content

Instantly share code, notes, and snippets.

@markedphillips
Last active September 22, 2019 15:20
Show Gist options
  • Save markedphillips/780a6bfb4afabec0a9ee0fe142e159a3 to your computer and use it in GitHub Desktop.
Save markedphillips/780a6bfb4afabec0a9ee0fe142e159a3 to your computer and use it in GitHub Desktop.
After installing the Outline Server change the key-port to a lower port for packet-dropping countries like China
IP="167.71.219.140"
PORT="442"
SERVER_SECRET="xdh4-Q2MP8Mdegf9sC-5Th" # from the apiURL prior to the 'certsha'
curl --insecure -i -X PUT \
https://$IP:$PORT/$SERVER_SECRET/server/port-for-new-access-keys \
-H 'Content-Type: application/json' \
-d '{
"port": 444
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment