DEV Community

Mehdi mFat
Mehdi mFat

Posted on • Edited on

17

How to use Cloudflare Warp as a socks proxy on your local computer

Cloudflare Warp is a wonderful VPN. It's very fast and with the Plus account you can enjoy virtually unlimited traffic.

One great thing about Warp is that you can run it in proxy mode. This is useful if you don't want your entire traffic to go through the Warp network.

In order to use Cloudflare warp in socks proxy mode you can use Wireproxy.

Wireproxy is a wireguard client that exposes itself as a socks5/http proxy or tunnels.

There is a very handy script to automatically install and configure Wireproxy with Cloudflare Warp on either a vps or your local machine.

wget -N https://gitlab.com/fscarmen/warp/-/raw/main/api.sh && bash api.sh [option]

Enter fullscreen mode Exit fullscreen mode

Just run and follow the steps. In the end you'll have a locally running socks proxy that you can use in your web browsers, Telegram and other apps.

The default host:port is 127.0.0.1:40000.

The script creates a systemd service for controlling wireproxy.

To change Wireguard/warp parameters you can edit this files:

nano /etc/wireguard/proxy.conf
Enter fullscreen mode Exit fullscreen mode

For example you can change the dns to 162.159.36.1 (recommended) and modify the endpoint as well.

To find a fast endpoint you can run this script as root:

wget -N https://gitlab.com/Misaka-blog/warp-script/-/raw/main/files/warp-yxip/warp-yxip.sh && bash warp-yxip.sh
Enter fullscreen mode Exit fullscreen mode

If you prefer to run warp in VPN mode instead of proxy mode, check out the following:

https://gitlab.com/Misaka-blog/warp-script

WGCF:https://replit.com/@misaka-blog/wgcf-profile-generator
WARP-GO:https://replit.com/@misaka-blog/warpgo-profile-generator
Sing-box:https://replit.com/@misaka-blog/warpgo-sbfile-generator

Billboard image

Use Playwright to test. Use Playwright to monitor.

Join Vercel, CrowdStrike, and thousands of other teams that run end-to-end monitors on Checkly's programmable monitoring platform.

Get started now!

Top comments (0)

Heroku

This site is powered by Heroku

Heroku was created by developers, for developers. Get started today and find out why Heroku has been the platform of choice for brands like DEV for over a decade.

Sign Up

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay