Nanohost logo
PricingFAQ
Log inSign Up

Creating a SOCKS5 Proxy Using Own VPS

Tutorials

6 Aug 2025

Creating a SOCKS5 Proxy Using Own VPS full

Need more privacy online or want to access content from another region? A SOCKS5 proxy is a simple way to route your internet traffic through a remote server. In this guide, we’ll show you how to create your own SOCKS5 proxy using a VPS and Docker — even if you’re not a technical expert.

What Is a SOCKS5 Proxy?

A SOCKS5 proxy is a lightweight tool that redirects your traffic through another IP address. It’s useful for:

  • Hiding your real IP address
  • Accessing region-locked content
  • Securely routing traffic from specific apps (e.g., browsers, torrent clients)

Unlike VPNs, SOCKS5 doesn’t encrypt your data, but it's faster and more flexible for many use cases.

Step 1: Get a VPS

To run your proxy, you need a virtual private server.

👉 At nanohost.org, you can get a fast, reliable VPS in multiple global locationsstarting from $8/month. Setup is instant, and you'll have full root access.

Choose a location that fits your needs — for example:

  • USA or Netherlands for general use
  • Netherlands or Poland for EU access
  • Singapore for Asia-based routing

Step 2: Install Docker

Detailed instructions on how to install Docker on your server can be found at this link.

Step 3: Run the SOCKS5 Proxy

Use this ready-to-go Docker image:

docker run -d --name socks5-proxy \
     -p 1080:1080 \
     -e PROXY_USER={your-username} \
     -e PROXY_PASSWORD={your-password} \
     serjs/go-socks5-proxy

✅ Replace {your-username} and {your-password} with your own credentials.

This will expose a SOCKS5 proxy on port 1080. It requires a username and password for security.

Step 4: Connect to Your Proxy

Now, configure your browser or app to use a SOCKS5 proxy:

  • Host: your VPS IP address
  • Port: 1080
  • Username/Password: the ones you set above

For example, in Firefox:

SettingsNetwork SettingsManual Proxy Configuration

SOCKS Host: your-vps-ip, Port: 1080

→ SOCKS v5 and enable Remote DNS

Done!

That’s it — you now have your own private SOCKS5 proxy server, running securely on your VPS. No sketchy public proxies, no bloatware. Just you and your clean traffic path.

🧡 Why Use NanoHost?

At nanohost.org, we make it easy to get started with reliable VPS hosting:

  • ⚡ Fast Xeon CPUs and SSD storage
  • 🌍 Servers in multiple locations
  • 🛡️ Full root access, no restrictions
  • 💸 Plans starting from $8/month

Perfect for running proxies, VPNs, personal apps, or learning Linux.

Happy proxying! 🧑‍💻🌐

linuxhow-todocker

Read also

How to Reboot Linux Now (Safely): systemctl reboot, shutdown -r now, and Force-Reboot Options

How to Reboot Linux Now (Safely): systemctl reboot, shutdown -r now, and Force-Reboot Options

Tutorials

Whether you’re applying kernel updates, clearing a stuck device, or finishing a configuration change, a reboot is sometimes the cleanest fix. This guide shows beginner-friendly and safe ways to restart Linux immediately (“reboot now Linux”), plus how to force reboot if the system is unresponsive. We’ll cover desktops, servers, and remote machines over SSH.

Linux Navigation and File Management

Linux Navigation and File Management

Tutorials

Learning how to move around and manage files and folders in the Linux filesystem is one of the most important skills for working with any computer. On cloud servers, these tasks are usually done through the terminal using well-known Linux shells and standard commands. This guide will walk you through some of the essential skills needed to work with files and directories from the terminal.

Linux Essentials: Step-by-Step Guides

Linux Essentials: Step-by-Step Guides

Tutorials

Learn the basics of the Linux terminal — what it is, how the shell and command prompt work, and how to run your first commands.

Products

Server in the United StatesServer in the United KingdomServer in NetherlandsServer in SingaporeServer in Poland

NOVPS CLOUD LTD ©2025