Shadowsocks is an open-source encrypted proxy. An app on your device encrypts your traffic and sends it to a Shadowsocks server, which decrypts it and passes it on to the site or service you asked for. The project calls it "a fast tunnel proxy that helps you bypass firewalls", and it works by making its traffic look like a stream of random bytes instead of a known protocol.
The details below come from the Shadowsocks project's own documentation, its repositories on GitHub, the Xray project's documentation and two published studies of China's firewall, all read 30 November 2026. We did not run a Shadowsocks server or client ourselves, so nothing below is a test result.
What Shadowsocks is
The project describes Shadowsocks as "a secure split proxy loosely based on SOCKS5" (Shadowsocks documentation). "Split" means it comes in two parts:
- The local part runs on your device. To your apps it behaves like an ordinary SOCKS5 proxy. It encrypts what they send and forwards it to the remote part.
- The remote part runs on a server. It decrypts the traffic, connects to the destination, and sends the replies back encrypted.
Shadowsocks is a protocol with many implementations, so there is no single Shadowsocks program. The first code went up on GitHub on April 20, 2012, from a developer using the name clowwindy. That original repository's default branch now holds one file, a README that reads "Removed according to regulations.", from a commit dated August 22, 2015 (the original repository). Other repositories in the same GitHub organization carry the work on: the Rust implementation, shadowsocks-rust, published a release on August 26, 2026.
A study presented at the Internet Measurement Conference in 2020 called Shadowsocks "one of the most popular circumvention tools in China" and put that down to its simplicity (How China Detects and Blocks Shadowsocks).
How Shadowsocks works
Both ends share one secret, a password or key that is set up in advance. There is no handshake to negotiate anything. A connection goes like this:
- An app on your device opens a connection through the local part.
- The local part opens a TCP connection to the server and sends an encrypted stream. The stream starts with the address of the destination, followed by your data.
- The server decrypts the stream, reads the address, connects to the destination and forwards your data.
- Replies come back the same way: the server encrypts them, and the local part decrypts them and hands them to the app.
UDP traffic is handled packet by packet in the same manner, with the destination address inside each encrypted packet.
Nothing in the stream is left readable, not even a header that names the protocol. The 2020 study sums up the design: Shadowsocks "attempts to avoid detection not by imitating some other protocol, but by using encryption to appear as a uniformly random byte stream".
The specification for the 2022 edition says that Shadowsocks "does not provide forward secrecy" (SIP022).
Shadowsocks ciphers: stream, AEAD and the 2022 edition
A Shadowsocks configuration names an encryption method, and the method decides how well the traffic is protected. There are three generations.
- Stream ciphers are the original methods, such as aes-256-cfb and rc4-md5. The project's verdict: "Stream ciphers are completely broken and will be removed soon. New users must use AEAD ciphers" (stream ciphers page).
- AEAD ciphers became part of the protocol specification in February 2017, according to the 2020 study. They protect confidentiality, integrity and authenticity together. The project recommends chacha20-ietf-poly1305 or aes-256-gcm (config format page).
- Shadowsocks 2022 is the newest edition. Its specification says it "allows and mandates full replay protection" and drops obsolete cryptography. It also stops deriving the key from a password: you supply a random key of a fixed length. Its required methods are 2022-blake3-aes-128-gcm and 2022-blake3-aes-256-gcm.
If a server's details name a method such as aes-256-cfb or rc4-md5, that server uses the stream ciphers the project calls broken.
Shadowsocks vs a VPN
Shadowsocks is a proxy, and a VPN is a tunnel.
A VPN protocol such as WireGuard adds a network interface to the device and carries IP packets through it (WireGuard's overview). Shadowsocks forwards individual TCP connections and UDP packets. On a phone the difference is hard to see, because Shadowsocks apps plug into the system's VPN feature to capture traffic. The project's recommended iOS client offers a "System-wide VPN" (Getting Started page), and the Android client's store listing names a "VPN mode". That is why Shadowsocks gets called a VPN.
On the network the two behave differently. WireGuard runs over UDP only, and its own documentation says it "does not focus on obfuscation" (WireGuard's known limitations). Shadowsocks was designed for networks that filter traffic: its 2022 specification says the traffic "is indistinguishable from a random byte stream".
Use a VPN protocol such as WireGuard on networks that leave VPNs alone. Shadowsocks and its relatives are for networks that block them. We didn't run our own speed tests, so we make no claim about which is faster on your connection. For the VPN side, see what WireGuard is.
Is Shadowsocks the same as SOCKS5?
No. SOCKS5 is a standards-track internet protocol, published in March 1996, for asking a proxy server to open connections on your behalf (RFC 1928). Shadowsocks borrows two things from it. The local part speaks SOCKS5 to the apps on your device, and the destination address inside the encrypted stream uses the SOCKS5 address format. What crosses the network between the two parts is Shadowsocks' own encrypted stream.
Can Shadowsocks be blocked?
Yes. Two published studies describe how China's firewall has done it. Both are about one country and are dated, so read them as a record of what was measured then.
The first, released on October 7, 2020, found that the firewall used "the length and entropy of the first data packet in each connection to identify probable Shadowsocks traffic". It then sent its own test connections to the suspected server, "seven different types of active probes", to check the guess (How China Detects and Blocks Shadowsocks). The authors reported their findings to Shadowsocks developers.
The second, released on April 28, 2023, covers a change that began in early November 2021. From then on the firewall could detect and block "fully encrypted traffic in real time" by watching alone, with no probes. The affected protocols included "Shadowsocks, VMess, and Obfs4" (How the Great Firewall of China Detects and Blocks Fully Encrypted Traffic). Three of its findings matter here:
- Random-looking traffic is itself a pattern. The authors write that fully encrypted traffic is better described as "looks like random" than "looks like nothing". The firewall exempted traffic that was unlikely to be fully encrypted and blocked what was left.
- TLS and HTTP were exempt. Connections whose first bytes matched TLS or HTTP were not blocked by this system.
- UDP was not affected. The blocking the authors measured applied to TCP connections.
Circumvention tools responded: the study describes countermeasures that Shadowsocks implementations adopted, and it calls the first of them "a stopgap solution" that a censor could block fairly easily.
Shadowsocks has an older answer too: plugins. A plugin wraps the Shadowsocks stream in something else before it leaves your device. The plugin specification gives simple-obfs as its example, lists GoQuiet, Cloak, Kcptun and V2ray-plugin as known good plugins, and notes that plugins forward TCP traffic only (SIP003).
What any network does today is not something a paper from 2020 or 2023 can settle. A server's IP address can also be blocked, whatever protocol runs on it. For background, see the guides to deep packet inspection and the Great Firewall of China.
Shadowsocks vs V2Ray, VLESS and Trojan
V2Ray and Xray are platforms that speak several proxy protocols, and Shadowsocks is one of them. Xray's documentation lists Shadowsocks among its protocols, next to VLESS, VMess and Trojan, and recommends the 2022 methods (Project X documentation).
The newer protocols in that family take the opposite approach to hiding. Shadowsocks tries to look like nothing in particular. VLESS and Trojan travel inside TLS or REALITY, so the network sees a TLS connection to a server. The summary below follows the Xray documentation's transport reference.
- Identifies you with: a shared password or key in Shadowsocks, a UUID in VLESS, a password in Trojan.
- Its own encryption: payload encryption and integrity in Shadowsocks; optional and off by default in VLESS; none in Trojan, which only authenticates.
- What the network sees: a random-looking stream from Shadowsocks without a plugin; a TLS or REALITY connection from VLESS and Trojan.
The same reference warns that "using TLS or REALITY does not mean that proxy traffic has the same characteristics as ordinary HTTPS traffic". It also notes that Shadowsocks and VMess protect the payload but lack the forward secrecy of TLS 1.3.
The guides to what VLESS is and what V2Ray is cover the TLS-based side in detail.
How to use Shadowsocks
You need two things: a server and a client. Any implementation works with any other, the project says.
The server
You can rent a server and install an implementation yourself. The project lists three command-line ones: shadowsocks-libev, written in C for small devices, go-shadowsocks2 and shadowsocks-rust. A server's configuration is a short JSON file with the server address, the port, the password and the encryption method.
Outline, from Jigsaw, is another way to run a server. Its server software "runs a Shadowsocks instance" and adds a way to manage access keys (Outline Server on GitHub).
The other source is a provider that sells or gives away server details. Whoever runs the server decrypts your traffic there and connects to each destination for you, so a server run by a stranger is a question of trust as well as cost.
The client
The project's Getting Started page names a client for each platform (read 30 November 2026):
- Android: shadowsocks-android. Google Play lists it as Shadowsocks, from Max Lv, last updated on September 17, 2021 (US listing, checked 30 November 2026). The project's GitHub page has newer builds as APK files, the latest a nightly build published on February 10, 2026.
- iPhone and iPad: meow, which the page calls the recommended iOS client. The page says it needs iOS 17 or later and is distributed through TestFlight.
- Mac: ShadowsocksX-NG. Its latest release on GitHub is an alpha version published on October 25, 2026.
- Windows: shadowsocks-windows. Its latest release on GitHub was published on February 8, 2022.
The cores that V2Ray apps run on include Shadowsocks, as noted above. The client guides for iPhone and iPad, Android and Mac go through those apps.
Links and QR codes
Server details can be passed around as a link that starts with ss://, or as a QR code of that link. The link holds the method, the password, the server's address and the port. It is encoded, not encrypted: the documentation says "we never try to 'encrypt' your key in the URI" (SIP002). Anyone who gets the link or a photo of the QR code can use the server.
An app with the servers included
The other route is a VPN app whose maker runs the servers, so there is nothing to configure. Tegant VPN is our own app, and it works this way. Tegant's XRay option runs VLESS with Vision and Reality, Trojan over TLS, VLESS with XHTTP over TLS, and VLESS with XHTTP over Reality. In the app you switch from WireGuard to XRay, pick a server and connect.
XRay is part of Tegant Premium on iPhone, iPad, Mac and Android, and it is available in 15 of Tegant's 18 server countries; France, Italy and Spain are WireGuard only. The free tier, where it is available, is WireGuard only. No VPN can guarantee access on every network, and that includes ours.
Rules on VPNs differ from country to country and change often, so check the current law where you are. Our guide to how VPN rules differ by country has more.
Shadowsocks questions
Is Shadowsocks a VPN?
Strictly, no. Shadowsocks is an encrypted proxy: it forwards connections through a server. Phone apps run it through the system's VPN feature so that it covers the whole device, which is why the two words get used together.
Is Shadowsocks safe to use?
It depends on the method and on who runs the server. With an AEAD method, the project's documentation says the traffic gets confidentiality, integrity and authenticity. The old stream methods are, in the project's words, "completely broken". In every case the server's operator can see where you connect.
Is Shadowsocks free?
The software is free and open source. A server is not: someone has to rent and run it, whether that is you or a provider.
Does Shadowsocks still work in China?
We haven't tested it, so we can't say. Published research describes the detection of Shadowsocks servers there, with user reports of blocking since 2019, and the blocking of fully encrypted traffic from November 2021. The tools changed in response. No protocol can promise access on every network.
Is there a Shadowsocks app for iPhone?
The project's documentation recommends a client called meow, distributed through TestFlight (read 30 November 2026). You still need a server to connect to.
What is a Shadowsocks server?
A computer running a Shadowsocks implementation, set up with a port, an encryption method and a password or key. It decrypts what clients send and forwards it to the destination. You can run your own or use a provider's.
Tegant VPN supports WireGuard and, with Premium, XRay, so you can switch protocols depending on your network. Learn more about Tegant VPN.