r/dumbclub • • May 10 '24

Selfhosted VPN 2024 Megathread

71 Upvotes

Hey Everyone,

I was looking for ideas for my self on the self hosted setup and noticed basically that every second thread is asking the same thing.

How about we make a tread where everyone can post what they are currently using and recomemended setups? Mods can pin something like that for ease of use.

So far I found here:

Single Script Install:

Guides:

Main:

Please feel free to add more, and give your recomendations.


r/dumbclub • • Oct 08 '24

The Right Way to Bypass the GFW in China-like Country

64 Upvotes

I joined this subreddit long time ago. I found many people here do not kown about how to access the GFW, and has lots of questions. So I write this post to help you guys access the Internet in China and China-like country.

If you have something not understand, just ask at here. i will try to help you.

Q&A

I will write this post in Q&A like with my personal point.

Note: if you only in China for a while, no matter which province, just use your cellular data without VPN, you can access the Internet directly!

A crafty rabbit has three burrows, you need Plan B, onces you lost connection.

Basics

What proxy shoud I use in China?

You should use some tools designed for bypass the GFW(v2ray, trojan, clash), not general vpn (wireguard based vpn like tailscale and OpenVPN etc.)

Gerneral VPN is not designed to pass the GFW. Because

  1. Their protocals has lots of trace on Internet, especially use these VPN connect to other country. (UDP based with obvious differences. Others will know you are using this VPN to bypass GFW)

  2. You can use them bypass GFW (only work in some situations), but GFW may block your server after triggered the block rule.

  3. You will have a poor connection.

Actually, tools like v2ray are not VPN, it belongs to proxy tools.

Where I can get the proxy?

I only recommond these two types

  1. Some dealers set up a store, which you can buy the proxy. In Chinese it called 机场.

  2. If you familiar with linux, you can selfhost a proxy server in CN2-GIA or CMI VPS.

Note: If you want to access Netflix, disney+ you need buy a proxy from 机场.

What can I do if I already in China without VPN?

  • Use your cellular data directly

  • Find a 机场, they provide tools

How to find 机场?

I will not recommand here. There are lots of telegram speed test channel, google "机场测速 telegram" and use your translator. if you can not access google, use something like searx(selfhosted meta search engine).

Note: some 机场 has low magnification node, which caculator data in 0.1, 0.3, 0.5 or 0.8 magnification.

Usage

Client

You can use these client:

  1. use the v2ray/xray core directly

  2. Neko Ray (Windows, Linux)

  3. SagerNet (Android, dead)

  4. Clash (Windows, Linux)

  5. V2rayNG (Android)

  6. Shadowrocket (IOS, Mac)

  7. Surge (IOS, Mac)

  8. Qv2ray (Windows, Linux, dead long time)

  9. V2rayN (Windows)

  10. V2rayA (Linux, easy transprant proxy client)

  11. Netch (Windows, designed for udp and games)

What is IEPL, IPLC, GIA, CMI?

form best to worst connection:

  • IEPL ≈ IPLC, best network connection! Data stream will not go through the GFW. Ultra low latency (about 150 to 200 ms to USA, only sell by 机场) good for games and media like youtube 4K.

  • CN2 GIA, good connection! Data stream will through the GFW, low latency with high speed (about 200 to 300 ms to USA, sell by 机场 and VPS provider) good for some games and media like youtube 4K.

  • CMI, only good for China Mobile network. (sell by VPS provider) good for media, only for China Mobile.

  • CN2 and CN2 GT, old fast network (Not fast at all). poor connection in Network peak period.

  • 163, poor connection without optimized.

the location which has low latency:

Hongkong < Japan < USA

Price:

Hongkong > Japan > USA

use tranceroute command to find how your data go to the outside.

Which route mode Bypass lan, global or PAC?

only one rule:

  • Do not visit any China websites with VPN

Use PAC or byPass China

if you want customize route rules, try to use v2ray with routing object.

High Level

What different between V2ray/Xray, and trojan?

v2ray and Xray are tools set, which support lots of proxy protocals. trojan is another proxy protocals, v2ray/xray also support it.

project v2ray/v2ray-core is old project which developed by original developers with MIT license. After they lost contact, the community take over the project, now it is v2fly/v2ray-core.

XTLS/xray is another branch of v2ray, has some new features, it use MPL-2.0 license which conflict with v2ray and (the main developer rprx had an argument with v2ray team, and released xray).

What is proxy chain?

If you care about your privacy when using 机场 or you need another proxy to optimize your network, you may need proxy chain.

If you use v2ray/xray, it is very easy to setup proxy chian. Just use ProxySettingsObject

What protocal should I use?

you need to use a protocal looks like normal network data. for now, these are good choice:

  • trojan

  • vless + TLS

  • websocket + TLS

  • vless + TLS + XTLS

How to optimize my network?

At server side, enble BBR in linux kernel!

Never use mKCP and something else, your server will block by GFW!

How to use CDN?

If your server IP is blocked by GFW, you can use cloudflare CDN. It is very easy, But may violation of the ToS.

  1. Choose a protocal which support by CDN (TCP based, like grpc)

  2. Enable CDN

  3. Connect your server

How to bypass GFW on device which can not install v2ray client?

to set up transparent proxy:

  • Use iptables with v2ray

  • Use openwrt with v2ray

  • Use v2rayA (easiest)


r/dumbclub • • Jan 17 '22

Difference between VLESS, Vmess and Trojan in the nutshell?

56 Upvotes

Hi,

What is the main difference between this three protocols and which work better in China (overall)?


r/dumbclub • • Mar 23 '26

Any solution to white list blocking in Russia?

48 Upvotes

mobile internet doesn't work at all in many places, but i found a vpn that works relatively well, and they even have dedicated servers in Russia for white list workarounds

does anyone know how that actually works and if/how i can implement it for my own vpn setup?

thanks :)


r/dumbclub • • Dec 16 '25

Bypass throttling internet speed by isp

Thumbnail
gallery
41 Upvotes

My isp throttle internet speed to around 13 mb/s But when I use testspeed*net I get around 400-600, How to bypass that. New to this field


r/dumbclub • • May 06 '25

how I stopped paying for public IPv4 on my VPS and still run v2ray like a boss

41 Upvotes

So I got tired of paying extra $$ just to keep a public IPv4 on my VPS for v2ray. You know the drill — AWS, Lightsail, whatever — $3.50/month for the server, then bam, another $1.5 or more just to keep a public IP. Not to mention the risk of IP getting blocked and starting over.

Then I built wovenet — an app-layer VPN that lets you expose stuff (like v2ray) running on a private IP-only VPS, and access it securely from your home machine. No public IP needed on the server. It works by tunneling app-level traffic via QUIC through NAT, with auto-reconnect, public IP detection, and even load balancing across multiple paths.

More details and configuration instructions: https://github.com/kungze/wovenet/tree/main/examples/release-public-ip


r/dumbclub • • Apr 02 '26

Is it possible to connect to a country with active whitelist from outside of said country?

31 Upvotes

So, a hypothetical question about a full whitelist.

I'm from Russia, and I've already decided for myself that if the internet gets completely cut off to the point where it's impossible to bypass, then despite all the practical difficulties of moving I have, I'll start packing my bags.

However, I don't want to sell my property. On top of that I have old parents as well. So here's my (absolutely) noob question:

When it comes to whitelisting, does the ban on connections work symmetrically? Meaning, is it impossible to connect both from inside the country to the outside and from the outside to the country? Or is it possible that, theoretically, once I'm abroad, I would still be able to connect to my Russian server and monitor my smart home, cameras etc?


r/dumbclub • • 22d ago

bgscan v2.12.1, chain ICMP, TCP, HTTP, DNS, Xray and DNS tunnel scans from one TUI

30 Upvotes

I shared bgscan here about a month ago. Quite a bit has changed since then, so here's another update for anyone who missed the last post.

I'm the author of bgscan. It started as a pile of one-off scripts I kept rewriting to answer the same questions: which IPs in a range are alive, which ones serve HTTP, which DNS resolvers actually forward queries, and which Xray outbounds still work.

I eventually got tired of maintaining separate scripts for all of that, so I started putting them together in one terminal UI. It's written in Go, GPL-3.0, and has no telemetry.

What it does

bgscan probes IPs over ICMP, TCP, HTTP/1.1, HTTP/2, HTTP/3 (QUIC), DNS, Xray, and DNS tunnels.

Chaining is probably the part I use most. Run an ICMP sweep, send only the hosts that answered into TCP or HTTP, then write the results to CSV. The next scan can use that CSV as its input, so the target list gets smaller at every stage.

Pipelines can run in streaming, batch or sequential mode. You can shuffle targets, limit how many IPs each stage reads, control how many sit between stages, and stop after a certain number of successful results. That last option is useful when you only need a handful of working IPs and don't want to wait for the entire list.

What's new in 2.12.1

Most of this release is about the TUI. I spent quite a bit of time fixing unnecessary rendering:

  • Tables, scanner panels and the footer now cache their rendered output and only rebuild when something changes.

  • Opening a dialog no longer rebuilds the screen behind it.

  • The log view batches incoming lines instead of polling once a second.

  • The footer now renders on the first frame instead of staying blank for a second.

There were also some core fixes:

  • A failed result-writer flush now stops the scan and reports the error instead of finishing with missing rows.

  • Closing the logger no longer races with workers still writing to the log file.

  • HTTP/2 works again in the default h1,h2 mode.

  • Plain HTTP probes now connect to the target IP instead of the URL host.

  • SSH key authentication keeps the username, and DNSTT keeps its handshake timeout.

  • Merged results are deduplicated by key, and speedtest transfers now respect their deadlines.

  • The startup checklist shows the vendored TheFeed library version.

A bit about the internals

bgscan doesn't shell out to most of these clients. They're vendored as git submodules in third_party/, and I maintain small forks with the changes needed to run them inside the scanner.

Xray is the biggest one. A scan can dial thousands of targets, and stock Xray leaves a lot of those dials waiting for their timeouts instead of closing them explicitly. On a large scan, that adds up pretty quickly.

My fork tracks every dial from TCP connect through the TLS handshake and force-closes anything still tracked when the scan ends. The dial timeout follows the Xray latency timeout from settings, there's a process-wide cap on concurrent dials, and the VLESS/VMess retry count is configurable instead of being hardcoded to five.

TLS handshakes also have an 8-second limit. If a handshake fails, the raw connection gets closed instead of leaving the descriptor around.

The xhttp/splithttp and gRPC dialers got similar changes: deadlines around dial and handshake, cancellation when the caller cancels, releasing per-destination clients when their last tunnel closes, and clearing the global dialer maps when a scan ends. Otherwise, individual instances close but the pooled dialers can outlive them.

VayDNS got context propagation through the transport and tunnel layers, TCP resolver support, TCP packet connections, and a small internal logger to replace logrus. Its client also backs the DNSTT path bgscan uses.

For MasterDNS, StormDNS and TheFeed, I wrote thin wrappers in internal/core/dns/ and added a few exported hooks to the forks: a tunnel package, logger disable, default config, and a public protocol package. This lets bgscan run them in-process instead of spawning separate binaries.

Slipstream is the exception. It's still running as an external binary.

The forks are here if anyone wants to look at the changes:

  • third_party/xray-core, branch scanner-fix

  • third_party/vaydns

  • third_party/masterdns

  • third_party/stormdns

  • third_party/thefeed

All of it is open source. Rebasing the Xray patches onto every upstream release is probably the least fun part of maintaining this project.

Supported probes

  • ICMP: Host discovery over IPv4 and IPv6.

  • TCP: Connection and handshake checks on any port.

  • HTTP: HTTP/1.1, HTTP/2 and HTTP/3 over QUIC. Configurable Host header, SNI override, TLS version range, uTLS fingerprint and accepted status codes.

  • DNS: UDP, TCP and DoT, with record types, EDNS buffer size, accepted response codes, random subdomains, and an anti-hijack check using a fake .invalid domain.

  • DNS tunnels:

    • DNSTT, VayDNS and Slipstream with SOCKS or SSH base connections.

    • MasterDNS and StormDNS with configurable encryption and MTU discovery.

    • TheFeed over UDP, TCP or DoT.

  • Xray: Outbound validation plus download and upload speed tests.

There are also bundled IP lists for Cloudflare (IPv4 and IPv6), AWS, Azure, Google, Akamai, Fastly, Bunny, G-Core, Iran and public DNS servers.

Using Xray with CDN IPs

You can add outbounds directly inside the TUI. Share links are supported for VMess, VLESS, Trojan, Shadowsocks, SOCKS and Hysteria2.

For anything else Xray supports, you can import JSON or JSONC. It can be a single outbound, an array of outbounds, or a full Xray config. WireGuard is supported this way too, through JSON rather than a share link.

For each target, bgscan builds the config in memory and replaces the outbound address with the target IP. The port, SNI and Host header stay unchanged.

This is how I test CDN-fronted configs. There's a Cloudflare example outbound and IPv4/IPv6 lists in the repo, so you can point an outbound with a fixed SNI at thousands of Cloudflare IPs and see which ones actually pass traffic.

Some of the settings I usually change:

  • Xray pre-scan: none, ICMP, TCP or HTTP.

  • Test type: connectivity only, download, upload, or both.

  • Download and upload thresholds in Kbps.

  • Latency timeout and speed-test timeout.

  • Xray workers, max concurrent dials, and dial attempts.

  • Pipeline mode, batch size, and max IPs per stage.

  • Workers, timeout and retries per probe.

  • Shuffle and IP caps.

  • DNS tunnel resolver pre-check and adaptive resolver mode.

Everything is editable in the TUI inspector and saved to TOML files, which you can also edit by hand. No restart needed.

Installation

There's an installer for Linux, macOS, Termux and Windows. I wrote a small Rust installer for it, called bgscan-installer.

It checks the SHA-256 of the downloaded release and handles updates, clean installs and backups. It's around 2 MB and doesn't need a runtime installed.

Installer source: https://github.com/MohsenBg/bgscan-installer

Links

Why I built it

This is a solo project. No company behind it, no cloud service, no accounts and no telemetry.

I originally built it because I needed something for resolver and Xray outbound testing. Over time it grew into something bigger, and I figured other people might find it useful too.

If you try it, let me know what breaks. Issues with your OS, bgscan version, the config you used (redact secrets), and the relevant part of debug.log are especially helpful.

Feature requests are welcome too. It's more useful if you explain what you're trying to do rather than just suggesting a feature.


r/dumbclub • • Jul 18 '26

Invisible low-latency P2P mesh VPN - silent to DPI, Reed–Solomon FEC loss-recovery, self-certifying mesh discovery, NAT hole-punching. What does the fox say? Nothing.

Thumbnail
github.com
30 Upvotes

r/dumbclub • • Aug 01 '25

VPN client application list(Until 2025/Aug)

30 Upvotes

● Android

Mihomo:

- Clash meta for Android [GitHub]

- FlClash [GitHub]

- Clash Mi [GitHub]

X-Ray:

- Happ [ Google Play | GitHub ]

- V2rayNG [GitHub]

- Exclave [GitHub]

- V2Box [Google Play]

- Shadowrocket [Google Play]

- SimpleXRay[GitHub]

- ZedSecure VPN[GitHub]

Sing-Box:

- sing-box [Google Play | GitHub]

- Husi [GitHub]

- NekoBox [GitHub]

- Karing [GitHub]

- Hiddify [Google Play | GitHub]

● Windows

Mihomo:

- Clash Verge [GitHub]

- FlClash [GitHub]

- mihomo-party [GitHub]

X-Ray:

- V2rayN [GitHub]

- Happ [GitHub]

Sing-box:

- Karing [GitHub]

- NekoRay от Mahdi [GitHub]

- Hiddify [GitHub]

● iOS

Mihomo:

- Clash Mi [AppStore]

X-Ray:

- Happ [AppStore]

- Streisand [AppStore]

- V2rayTun [AppStore]

- V2Box [AppStore]

- Shadowrocket [AppStore]

- Stash [AppStore]

- Quantumult X [AppStore]

- Surge 5 [AppStore]

Sing-box:

- sing-box [AppStore]

- Hiddify [AppStore]

- Karing [AppStore]

● macOS

Mihomo:

- Clash Verge [GitHub]

- FlClash [GitHub]

- mihomo-party [GitHub]

Sing-box:

- sing-box [AppStore]

- Karing [AppStore]

- NekoRay от Mahdi [GitHub]

- Hiddify [GitHub]

X-Ray:

- V2rayN [GitHub]

- Happ [AppStore]

- Streisand [AppStore]

- V2rayTun [AppStore]

- V2Box [AppStore]

- Quantumult X [AppStore]

● Linux

Mihomo:

- FlClash [GitHub]

- Clash Verge [GitHub]

- mihomo-party [GitHub]

X-Ray:

- V2rayN [GitHub]

Sing-box:

- NekoRay от Mahdi [GitHub]

- NekoRay от Matsuri [GitHub]

- Hiddify [GitHub]


r/dumbclub • • Dec 13 '25

some useful guides, xray examples by me

28 Upvotes

hello all, some users recommended me to make a github repo for all my guides & configs! i made it:

https://github.com/pomidorka1515/xray-examples

also please star it, thanks


r/dumbclub • • Oct 24 '25

Xiaomi blocking v2rayNG installation

Thumbnail
gallery
28 Upvotes

Client has disabled Mi Protect but still getting the same error. I don't have device details yet, and I suspect it can be bypassed by one of the two icons on the top right.

They managed to install once, but the system uninstalled v2rayNG, and now this error since, even with Mi Protect off.

What is the bypass to install v2rayNG on a Chinese Xiaomi and stop the system from uninstalling the app?

EDIT: Disabling scan before installing in MIUI system settings allowed the client to install v2rayNG.


r/dumbclub • • May 31 '23

AstrilVPN 2048 automatic coupon solver

Thumbnail
github.com
28 Upvotes

If you are having trouble with the 2048 puzzle I made this solver you can use. It is fully automatic. All it requires is python 3 (tested with Python 3.11 and Edge and Chrome browsers) and the packages as noted on the GitHub page.

Takes about 4 minutes to solve (depending on CPU speed). The solver isn't the greatest so it only gets 2048 like 90% of the time but if it fails it restarts automatically.

I've only seen 10% coupons so far. But still better than nothing.

Personally I'm not using Astrill since I find their policies quite scummy. But I know for many it is their only option.

Please let me know if you run into trouble. Feel free to open issues and discuss on the GitHub page as well as here.


r/dumbclub • • Jul 21 '26

How to troubleshoot unreachable US VPS from China Mobile, but fine on China Telecom?

Post image
27 Upvotes

I'm staying at this "Airbnb" in Kunming and overnight my RackNerd (San Jose, USA) VPS became unreachable (no SSH, no 3X-UI web, and no proxy connections). From cip.cc, I see the wifi is from China Mobile. When I use my mobile phone on China Telecom, I can access the RackNerd server fine.

I just learned about ping.pe test and I see dropped connections for both China Mobile (wifi) and Telecom (cellular), so not sure why Telecom is fine for me, but not Mobile.

Luckily, I still have my Hong Kong ZoroCloud VPS that still works, but it doesn't have the huge 2 TB monthly bandwidth like my RackNerd VPS has.

I could also get a new IP from RackNerd, but it'll cost me $5 and there is no guarantee that it'll work.


r/dumbclub • • Jan 28 '26

VPN censorship in Iran and possible solutions

27 Upvotes

I am trying to help a friend in Iran get reliable internet access. I'm confused about some basics:

Won't the ISP just flag them for using encryption and cause problems? Like how does this actually work without getting them in trouble?

From what I've read, people recommend self-hosted Outline over commercial VPNs but I don't get why. What makes it different?

Also genuinely confused how Iran even HAS internet if they're blocking everything. Don't they need to connect to undersea cables or whatever that other countries control?

Not trying to do anything crazy, just want them to access normal sites safely. Any simple explanations appreciated thanks.


r/dumbclub • • Nov 14 '24

For everyone that is using 3X-UI for XRay

Post image
27 Upvotes

Xray developers recommend against using 3X-UI, it's described here on their github, in installation section https://github.com/XTLS/Xray-core?tab=readme-ov-file#installation They also list some alternatives here Just wanted to let everyone know


r/dumbclub • • 24d ago

My country's banning vpns

26 Upvotes

I don't have too much knowledge on this stuff, I need an obfuscated vpn or something like that. A vpn that can't be banned. Does that exist?


r/dumbclub • • 25d ago

Why are all VPNs shit now?

25 Upvotes

Just as I buy a 3 year sub to 12VPX all their China servers stop working and every other server is slow as shit. Can't even load videos on Reddit. Watching YouTube at anything more than 240p is a distant dream.

Astril is a piece of shit too.


r/dumbclub • • Apr 15 '26

Thinking to quit centralized VPNs and go decentralized VPNs

24 Upvotes

My vpns keep having issues and friends who use other services have issues as well. this is not just a recent thing but seeing that countries are starting to really crack down on vpns only makes me think things will get worse. my understanding is that these countries are easily able to track IPs that are used by VPN companies and then block them. however I've been reading some articles about decentralized vpns which makes it near the impossible to block since it's using real IPs and you can just jump onto another node if there's issues with the node you're connected to.

I'm wondering if there's anybody who has experience with the decentralized VPN devices. I like the idea of not having to pay a subscription either however I'm not sure how well they work and would love to hear firsthand from anyone who has one. thanks n advance!


r/dumbclub • • Jul 31 '25

Why don't popular vpn subscription providers (such as nord, mullvad and express) adopt V2ray?

24 Upvotes

OpenVPN and wireguard don't work in the most heavily censored countries, so people have to rent a dedicated VPS and set up v2ray protocol. This is complicated for the average person, and if your IP address gets blocked then you have to get a new one.

However if popular VPN providers (e.g. nord, mullvad etc) add the v2ray protocol to their servers, it will be much more convenient and people can access multiple servers under one subscription. The VPN providers will see a lot of profit as well. This is a good idea imo, so why don't they do this?


r/dumbclub • • Jul 13 '25

Updates for the censorship bypass guide

22 Upvotes

Hey everyone!

I am back with some change logs:

- Improved the V2Ray section and fixed some typos

- Added a client section

- Renamed Support to Website Source Code and made it a link instead of a page

- Added a support link linked to the forum

A lot of you responded to me saying the URL is very long, so we came up with a solution. We introduced a gateway like some airports (机场) do. It is easier to remember the URL, and it allows us to switch domains when one expires.

https://censordex.fr.to

https://censordex.pages.dev

OG URL

https://2305878273.7844380499.cfd

We also have a new forum and are looking for people to post on it :) If you have any questions, please ask below.


r/dumbclub • • Jun 13 '25

VPN in China

22 Upvotes

I'm headed to China for 30 days and absolutely need a VPN for work purposes. Which one is guaranteed to work out there?

I also had a thought: on arrival I plan to get a Chinese sim card with unlimited data for the month. Could the people at the airport kiosk notice a VPN on my phone and get me in trouble?

Maybe a little paranoia there, but just a thought...


r/dumbclub • • Nov 17 '24

Censorship Bypass Guide

22 Upvotes

Hello redditors!

I am very happy to release the censorship bypass guide.

This guide contain all information to setup your own proxy.

You can check it out here https://2305878273.7844380499.cfd

I am also looking foward for suggestions!