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 • • 8h ago

I wrote a CLI/TUI for managing Clash API proxy clients, with a sing-box link ↔ outbound converter

Thumbnail
gallery
4 Upvotes

I use sing-box in TUN mode on my work machine. I have several servers with a lot of outbounds, plus an automated setup that picks the best connections in Selector groups. To make managing and monitoring all of that faster, I wrote my own tool for it.

I'm the kind of person who prefers working in the terminal and using CLI/TUI tools over a browser UI, so I built sbcli, a small Rust client for the sing-box Clash API. I hope someone finds it useful.

It has a plain CLI for quick commands and an interactive TUI (sbcli -i).

  • Switch the active member of selector groups
  • Test proxy and group delay, with live updates in the TUI
  • Watch connections as they open and close, and close one or all
  • Filter any table by typing
  • List proxies, groups and rules; run DNS queries; flush DNS and fake-IP caches
  • Convert share links (vless, hysteria2, ss, trojan, etc.) to sing-box outbounds and back
sbcli -i
sbcli -s proxy node-hy2
sbcli -lZ links.txt -o outbounds.json

Tested with sing-box 1.14.4. It only uses the Clash API, so it should also work with other clients that implement it (shoes, for example). The link converter is sing-box specific.

The README also has a full TUN setup guide: links → outbounds → config → run.

Install: brew install nlkli/tap/sbcli, or grab a binary for macOS (Apple Silicon) / Linux (x86_64) from the releases page.

GitHub: https://github.com/nlkli/sbcli

Feedback and bug reports are welcome.


r/dumbclub • • 1d ago

Full L3 tunnel

4 Upvotes

I've been using VLess+Reality from Russia for quite a while. As for bypassing censorship and just accessing sites, everything works perfectly.

But VLess only carries L4 traffic (connections to sites) and I want to pass raw network traffic so that clients can obtain a real IP address from my server and use it to communicate with each other and internet.

Are there any protocols that can carry raw IPv4/IPv6 packets while having anti-detection capabilities similar to those of VLess+Reality? Also having panel to control users' quota (like 3x-ui) would be nice but I can live without that


r/dumbclub • • 1d ago

What's the best way to build a reliable OpenClash/Mihomo config?

0 Upvotes

Hi everyone! I'm curious about the best way to get a solid, reliable OpenClash/Mihomo configuration that's properly tailored to individual needs. There are plenty of configs available online, but it's difficult to tell which ones are genuinely well-maintained and reliable, rather than just packed with features and tweaks. For those with experience, what's the best approach? Is it better to start with a clean configuration and build on it, use a trusted community template, or adapt an existing config? I'd also be interested in hearing what you consider essential for a good setup and what things are best avoided. I'm looking to learn from people who've been using OpenClash/Mihomo for a while. Any advice or recommendations would be appreciated.


r/dumbclub • • 2d ago

I made a Chrome extension that sends only the sites I pick through my VPN

Post image
2 Upvotes

I wanted some sites to go through my own VLESS server and everything else to work as usual. So I made a Chrome extension for that.

You add your VLESS or Hysteria2 server (or a subscription) and choose which sites use it. It only affects Chrome, not the rest of the PC.

It needs a small companion app, so Windows only for now. Free and open source, no accounts.

It's called Waysplit, you can find it in the Chrome Web Store. The code is on GitHub.

Any feedback is welcome!


r/dumbclub • • 3d ago

Using a router with VPN function in Germany

7 Upvotes

I've got the option to use a router in Germany that supports WireGuard-VPN and has a decent speed. Anyone got recommendations what I should look for/avoid when doing the setup?

thanks!


r/dumbclub • • 3d ago

Is Mojie a safe and reliable VPN service?

0 Upvotes

Hey everyone!

I'm a complete beginner when it comes to networking. I tried setting up my own VPN on a VPS, but it was a real headache (even with ChatGPT walking me through it, since my network setup is a bit unusual).

Has anyone here used a VPN/proxy service called "Mojie"? It's a lot cheaper than a decent VPS, and it seems pretty stable.

My main concern is whether it's safe and trustworthy, especially in terms of privacy and security.

I mainly use a VPN to access ChatGPT and YouTube, nothing more than that. Would you recommend Mojie, or should I stick to running my own VPN?

Thanks in advance!


r/dumbclub • • 4d ago

any advice for Xray+REALITY setup?

1 Upvotes

I currently have a self hosted server running Xray-core and will be traveling and want to be able to browse the internet freely through my server.

The configuration I have in V2BOX on my phone is:
Protocol: VLESS
flow:xtls-rprx-vision
Network:tcp
Stream security: REALITY
SNI: www.mozilla.org
Fingerprint:chrome
Fragmentation: enabled (does this still help?)
SNI spoofing: disabled (idk if I should keep disabled)

I’m wondering if this setup is still enough to bypass restrictions in other countries. Is there any more I should do? Is it also okay that im self hosting instead of buying a VPS?


r/dumbclub • • 9d ago

WireGuard Plus: open-source Xposed/LSPatch module running userspace wireguard-go and AmneziaWG inside Telegram only

9 Upvotes

Got tired of system-wide VPNs breaking local banking apps and slowing down everything else just to keep Telegram working under ISP/DPI blocks.

I built WireGuard Plus, an open-source Android module (works rootless via LSPatch or with LSPosed/Magisk) that embeds wireguard-go and gVisor userspace networking directly inside the Telegram process. Only Telegram traffic goes through the WireGuard or AmneziaWG tunnel (including voice/video calls and DoH), while the rest of the phone stays on the normal connection and the Android VpnService slot stays free.

It is a solo project licensed under GPL-3.0. I have not tested it on every Android OEM ROM or every DPI setup yet, so bug reports or feedback on AmneziaWG parameter compatibility are welcome.

GitHub link is in the first comment.

Update (v1.7.2): WireGuard Plus now also ships a Windows 10/11 (x64) desktop app alongside the Android LSPosed/LSPatch module. It uses the same userspace wireguard-go + AmneziaWG 1.5 + gVisor + DoH stack over a local loopback SOCKS5 proxy for Telegram Desktop, Portable, AyuGram, Kotatogram, and Unigram, with no Wintun adapter, admin rights, or system-wide VPN needed. Both platforms now include 1-Click Free WARP, so you no longer need to hunt for or import a .conf file manually; one click generates a Cloudflare WARP config and connects.


r/dumbclub • • 9d ago

OpenVPN Access Server: Removing Connection Limits for max number of users

Thumbnail reddit.com
1 Upvotes

r/dumbclub • • 11d ago

Build on the Outline SDK: new guides for mobile apps, custom components, and connection strategies

Thumbnail
reddit.com
9 Upvotes

Outline creator and founder of https://outline.org here.

If you are a developer of censorship circumvention technology, building for the Outline ecosystem can allow your technology to be picked up by various apps and impact millions of users.

You focus on the technology, the apps handle the deployment and user acquisition. These articles explain how.


r/dumbclub • • 12d ago

Warning: Astrill is a piece of shit

22 Upvotes

Astrill will create ASProxy64.dll in system32, this will completely break Steam, Pycharm and various things to do with Python and npm.

This shit wasted hours of my time trying to figure out why Python scripts were failing.

It also breaks a bunch of games if you google ASProxy64.dll you'll find a bunch of people with issues.


r/dumbclub • • 13d ago

Travel router that supports the popular protocols?

6 Upvotes

Do you guys have any recommendations for a portable travel router (as small and light as possible) that can reliably be used with the current proxy protocols for mainland China? Eg do everything I can do in V2RayNG but on the router. Does something like that even exist?

The reason is mostly to be able to easily and painlessly on/off Tailscale across multiple devices. I have to do this multiple times daily.


r/dumbclub • • 15d ago

Personal Xray node on a Singapore VPS has unreliable connections and ongoing TCP retransmissions

1 Upvotes

I set up a personal, self-hosted node on a DigitalOcean Droplet in Singapore using Xray with VLESS + REALITY. It is for my own use, not an open or public proxy.

I can’t connect to this node reliably from either my phone or desktop. Other VPS nodes work normally, so the issue seems specific to this node.

While the clients are trying to connect, the VPS shows ongoing TCP retransmissions on the client connections, with RTT around 250–300 ms. The retransmitted-byte counters continued to increase during the connection attempts.

Has anyone seen similar behavior with a self-hosted Xray node in China? Could this be related to the route to the VPS, the node’s IP, or a restriction by the hosting provider?


r/dumbclub • • 16d ago

ProxyBridge: Simple Proxy Client to force proxy to any Windows/MacOS/Linux Application TCP and UDP traffic

Thumbnail
github.com
5 Upvotes

r/dumbclub • • 18d ago

a new fish on the boat

Thumbnail reddit.com
1 Upvotes

r/dumbclub • • 23d ago

xray-rust update: more protocols, less memory, and a lot of testing

19 Upvotes

Hi again. I previously posted here about rewriting the mobile Xray client core in Rust after running into iOS memory limits. Both the core and mobile SDK are now at 0.9.0, so I wanted to share what’s changed.

The protocol list has grown quite a bit. Since that post, I’ve added VMess AEAD, Trojan, Shadowsocks 2022 and classic AEAD, Hysteria 2, WireGuard, and SOCKS5/HTTP proxy outbounds. There’s also VLESS encryption, VLESS Mux, Salamander, and port hopping for Hysteria 2 and XHTTP over HTTP/3.

The SDK now has profile import, live traffic counters, connection management, and connectivity checks. Apple support also extends to macOS and tvOS.

A few contributors have also joined the project, and xray-rust is now being used in real apps beyond my own. Thanks to everyone who’s contributed, tested it, or taken the time to report a bug.

A lot of the work was tracking down things that only break under actual traffic: downloads stopping when an app reads too slowly, uploads stalling on TCP window updates, and buffers growing when the connection can’t keep up. I’d reproduce the problem, compare the behavior with Xray-core, fix it, and add a regression test.

One example: eight XHTTP uploads through TUN on a slow outbound were using around 63 MiB with the mobile profile. After fixing how much data each flow could queue, that dropped to about 33 MiB, with the same throughput.

Testing has expanded too: real Xray-core and sing-box servers, fuzzing, simulated latency and packet loss, repeated starts and stops, and physical iPhone and Android devices. On iPhone, I also tested switching between Wi-Fi and cellular and locking the phone while traffic was running.

The updated benchmarks, run on an Apple M6 against Xray-core v26.10.21:

xray-rustXray-core
Idle memory4.6 MiB27.4 MiB
1,000 held connections22.7 MiB78.6 MiB
VLESS + REALITY + Vision22.1 Gbps19.1 Gbps

The original motivation hasn’t changed: I want a core that works comfortably inside a mobile VPN app. There’s now considerably more you can run through it.

Core · Mobile SDK · Release notes

If you’ve tried it since the first post, I’d like to hear how it went. Configurations that don’t work and bugs you can reproduce are especially helpful.


r/dumbclub • • 23d ago

How to add exceptions to v2rayN widows

3 Upvotes

I've seen a lot of advice on how to make it so v2rayN only runs through a few apps. What if I want the opposite and need it to have exception?

It's an option on the android port but not as simple on PC client.


r/dumbclub • • 26d ago

I wrote FreeBSD drivers so OPNsense can use every front port on Sophos XGS boxes (XGS 136 / 3300)

Thumbnail gallery
20 Upvotes

r/dumbclub • • 27d 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 • • 27d ago

Everything is hackable

0 Upvotes

VPN, proxies and other internet-censorship circumvention tech is as effective as ever. Now, it just depends on the user more. You have to customize everything for your specific situation, a default, out-of-the-box experience won't do anymore. You either give your trust to a professional/commercial solution for the convenience, or spend days figuring out the basics and constantly troubleshoot when something breaks.

Free Internet will be harder to access every day, and that's normal, I'm even surprised that it doesn't happen more rapidly. But, as easy it is to block most tools, it is as easy to bypass any block. The only way to fully stop the connection is to physically cut the cable, side effects of which are impossibly high, becoming a second North Korea for most authoritarian countries is a catastrophe.


r/dumbclub • • 29d 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 • • Oct 27 '26

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.