Skip to main content
Tech Radar
  • Tech Radar Pro
  • Tech Radar Gaming
Tech Radar Pro TechRadar IT Insights for Business
Subscribe
RSS
(opens in new tab) (opens in new tab) (opens in new tab) (opens in new tab)
Asia
flag of Singapore
Singapore
Europe
flag of Danmark
Danmark
flag of Suomi
Suomi
flag of Norge
Norge
flag of Sverige
Sverige
flag of UK
UK
flag of Italia
Italia
flag of Nederland
Nederland
flag of België (Nederlands)
België (Nederlands)
flag of France
France
flag of Deutschland
Deutschland
flag of España
España
North America
flag of US (English)
US (English)
flag of Canada
Canada
flag of México
México
Australasia
flag of Australia
Australia
flag of New Zealand
New Zealand
Technology Magazines
(opens in new tab)
Technology Magazines (opens in new tab)
Why subscribe?
  • The best tech tutorials and in-depth reviews
  • Try a single issue or save on a subscription
  • Issues delivered straight to your door or device
From$12.99
(opens in new tab)
View Deal (opens in new tab)
  • News
  • Reviews
  • Features
  • Opinions
  • Website builders
  • Web hosting
  • Security
Trending
  • Best standing desk deals
  • Best cloud storage 2023
  • Everything you need to WFH
  • What is Microsoft Teams?
  • Windows 11 for business

When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

  1. Home
  2. VPN
  3. Computing
Supported (opens in new tab)

Shadowsocks vs SOCKS5: What are they and why do you need them?

By Nate Drake

Explore the difference between SOCKS5 and Shadowsocks, and how you can use them to mask online activities

Security on a computer screen
(Image credit: Pexels )

Despite your best efforts to stay online, bad actors such as hackers and rogue governments can try to access your personal data online.

In the first instance, they may do this by tracing you via your IP address to discover your location. They may also analyze your web traffic to find out what sites and applications you’re using.

One great way to stay safe online is through using some of the best VPN services out there, which can establish a secure encrypted tunnel to keep your web traffic safe. Still, some free VPN services can’t be trusted, as they may be selling your personal data or force you to watch ads in order to access their servers. 

Some may not be able to access a reliable, trustworthy VPN - either due to budget or government censorship laws. Using a VPN may also be overkill if you’re not trying to conceal your web traffic - for example, changing your IP address and using a streaming VPN to access geo-restricted platforms like Netflix from outside your home country.

This is where SOCKS5 can come in useful.

What is SOCKS5? 

SOCKS5 is a more secure version of the SOCKS internet protocol, which is designed to route traffic from a “client” device through a proxy server. This allows the client to authenticate itself with the server, either through using a username and password or via an API.

VPNs do make use of SOCKS5 proxies, as they’re a very easy way to hide your IP address. Once your device connects to a SOCKS5 proxy it will randomly generate an IP address, then forward your traffic from there. From then, on any bad actors monitoring your connection will only be able trace it back as far as the proxy.

This makes it much easier to conceal your true location and if the proxy is located in a different country you may be able to access certain location-specific services such as video streaming or news sites. Doing this via a SOCKS5 proxy can also be much faster than using a VPN, as there are no multiple layers of encryption to go through.

However this is also a weakness of SOCKS5, as the protocol doesn’t encrypt your traffic. This means anyone with access to your connection records will still see which sites you’ve visited, which applications you’re using and any data you’ve sent which is in “the clear”. This is less than ideal for people who want to keep their web data private, particularly those living in countries where the Internet is censored. 

This is where Shadowsocks comes in.

What is Shadowsocks? 

Shadowsocks is a free and open source internet encryption protocol. It operates in much the same way as SOCKS5 in that it can act like a traditional server and provide proxy services.

Still, Shadowsocks is not in itself a proxy server. But it offers a way to connect securely to existing SOCKS5 proxies.

This allows you to have the best of both worlds. Your IP address remains concealed, and so does your traffic. This makes it very difficult to detect specific websites or apps you’re using. Shadowsocks also offers granular control, meaning you can use it only for specific services, such as accessing western news outlets’ websites.

Anyone with access to the connection of Shadowsocks’ users would only detect regular HTTPS web traffic even when using advanced monitoring techniques such as deep packet inspection. Traffic is encrypted using AEAD (Authenticated Encryption with Associated Data) ciphers. 

This gives Shadowsocks an advantage over VPNs for people living in countries which censor the internet. Whilst many such countries ban VPNs from devices’ app stores, anyone can download and set up the Shadowsocks client.

This may be why the original developer codename “clowwindy” was contacted by the Chinese government and ordered to pull the code for the Shadowsocks client and server from Github. Still, others have reposted the code on Github and made it available in other programming languages such as Rust and Python.

Which is better: SOCKS5 or Shadowsocks? 

The real goal of using Shadowsocks or a SOCKS5 Proxy on its own is to keep your IP address safe without making it obvious you’re trying to conceal your web traffic. 

This can be an advantage in jurisdictions where it’s difficult (or even impossible) to use a virtual private network without risk of punishment for trying to conceal your web traffic. Whether secured by Shadowsocks or now, a SOCKS5 proxy also provides a cheaper alternative to VPNs when budgets don’t stretch that far. 

Still, neither Shadowsocks nor SOCKS5 can offer you the same level of security and privacy as a VPN. In the first instance, VPNs encrypt all web traffic automatically and usually allow you to select from a variety of VPN servers. You can also use VPNs to share network resources, effectively allowing remote computers to act together as a LAN (local area network). This isn’t supported by Shadowsocks or SOCKS5.

Unlike Shadowsocks, some services include a VPN kill switch, which stops all internet traffic if a secure connection isn’t established or drops out during use. This stops users from going online unaware that their traffic is no longer protected.

While VPN protocols can’t in themselves disguise the fact that you’re using one, you can still reduce the risk of this being detected. 

The simplest way to do this is through using a VPN with a dedicated IP address. This provides some of the same advantages of using a SOCKS5 proxy, as there’s no risk you’ll be banned/blocked from a service due to someone else misusing your IP address. Some websites also block known IP addresses for VPNs, which is less likely to happen if you’ve a dedicated IP. 

If your VPN supports the Wireguard protocol, you can employ VPN obfuscation technology and help resist deep packet inspection by combining it with Shadowsocks.  

Today's best overall VPNs
Express VPN (opens in new tab)
ExpressVPN 12 month
(opens in new tab)
$6.67
/mth
(opens in new tab)
View Deal (opens in new tab)
UP TO 1 YEAR FREE
NordVPN (opens in new tab)
NordVPN 2 Year
(opens in new tab)
$3.49
/mth
(opens in new tab)
View Deal (opens in new tab)
Exclusive discount
HotSpot Shield (opens in new tab)
Hotspot Shield 3 year
(opens in new tab)
$2.49
/mth
(opens in new tab)
View Deal (opens in new tab)
+2 months free
Surfshark (opens in new tab)
Surfshark 24 Months
(opens in new tab)
$2.30
/mth
(opens in new tab)
View Deal (opens in new tab)
+3 MONTHS FREE
Private Internet Access (opens in new tab)
Private Internet Access 24 Month
(opens in new tab)
$2.11
/mth
(opens in new tab)
View Deal (opens in new tab)
We check over 250 million products every day for the best prices

TechRadar Pro created this content as part of a paid partnership with ExpressVPN.

Are you a pro? Subscribe to our newsletter

Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!

By submitting your information you agree to the Terms & Conditions (opens in new tab) and Privacy Policy (opens in new tab) and are aged 16 or over.
Nate Drake
Social Links Navigation

Nate Drake is a tech journalist specializing in cybersecurity and retro tech. He broke out from his cubicle at Apple 6 years ago and now spends his days sipping Earl Grey tea & writing elegant copy.

  1. arm reaching outside laptop aiming blowhorn at man
    1
    5 mistakes to avoid with your gaming laptop
  2. 2
    Marvel has already learned a big lesson from James Gunn's new-look DCU
  3. 3
    Hulu and Disney Plus will make streaming movie history in June – and it's about time
  4. 4
    Klipsch’s 16-in subwoofer beast takes aim at the Sonos Sub to score a low end win
  5. 5
    Microsoft’s blunders with new Windows 10 update are causing serious headaches
  1. Vecna stares directly into the camera in Stranger Things season 4
    1
    Stranger Things season 5 is about to hit the big Marvel and Star Wars problem
  2. 2
    10 things you didn't know Google Maps could do
  3. 3
    Marvel has already learned a big lesson from James Gunn's new-look DCU
  4. 4
    How to get a domain name for free
  5. 5
    Hulu and Disney Plus will make streaming movie history in June – and it's about time
Technology Magazines
(opens in new tab)
  • ●
Technology Magazines (opens in new tab)
  • The best tech tutorials and in-depth reviews
From$12.99
(opens in new tab)
View Deal (opens in new tab)

TechRadar is part of Future US Inc, an international media group and leading digital publisher. Visit our corporate site (opens in new tab).

  • About Us (opens in new tab)
  • Contact Us (opens in new tab)
  • Terms and conditions (opens in new tab)
  • Privacy policy (opens in new tab)
  • Cookies policy (opens in new tab)
  • Advertise with us (opens in new tab)
  • Web notifications (opens in new tab)
  • Accessibility Statement
  • Careers (opens in new tab)

© Future US, Inc. Full 7th Floor, 130 West 42nd Street, New York, NY 10036.