forked from shadowsocks/shadowsocks
-
Notifications
You must be signed in to change notification settings - Fork 22
Generate QR Code for Android or iOS Clients
cr0sswall edited this page Aug 24, 2015
·
19 revisions
Shadowsocks Android and iOS supports QR Code configuration.
Update: now you can also scan QR code on Windows and OS X.
You can encode your server configuration to a QR Code.
-
Put your configuration together like this:
method:password@hostname:port
-
Transform it into base64:
bWV0aG9kOnBhc3N3b3JkQGhvc3RuYW1lOnBvcnQ=
-
Prepend with
ss://
ss://bWV0aG9kOnBhc3N3b3JkQGhvc3RuYW1lOnBvcnQ=
-
Generate a QR Code from the url above.
You can also generate QR Codes from some GUI clients:
pip install qrcode
echo -n "ss://"`echo -n aes-256-cfb:[email protected]:8388 | base64` | qr
If you can't scan the code, try changing your terminal font.