Skip to content
reason-machines avatar

Gooserelayvpn Socks5 Tunnel

Dual-hop SOCKS5 VPN that tunnels raw TCP through Google Apps Script to a self-hosted VPS exit.

CCM score
45 of 100
skills.sh installs
165
GitHub stars
99
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the client, Apps Script forwarder, and VPS exit server, with AES-256-GCM encryption and domain fronting between them
  • Includes setup for client_config.json, server_config.json, a gen-key.sh key generator, and a systemd unit for the exit server
  • Enforces end-to-end encryption so Google's forwarder never holds the tunnel key, and load-balances across multiple Apps Script deployments with health-based backoff
  • Designed for users who need raw TCP tunneling (SSH, IMAP) through a fronted Google path rather than a conventional VPN

Install

$ npx -y skills add reason-machines/trending-skills --skill gooserelayvpn-socks5-tunnel -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

GooseRelayVPN SOCKS5 Tunnel Skill

Skill by ara.so — Daily 2026 Skills collection.

What It Does

GooseRelayVPN is a SOCKS5 proxy that tunnels raw TCP through a Google Apps Script web app to a self-hosted VPS exit server. The traffic path:

Browser/App
  -> SOCKS5 (127.0.0.1:1080)
  -> AES-256-GCM encrypted frames
  -> HTTPS to Google edge IP (SNI=www.google.com, Host=script.google.com)
  -> Apps Script doPost() — dumb forwarder, never sees plaintext
  -> Your VPS :8443/tunnel — decrypts, dials real target
  <- Same path in reverse via long-polling

Key properties:

  • Domain fronting: TLS SNI shows www.google.com; actual host is script.google.com
  • End-to-end AES-256-GCM: Google never holds the key
  • Raw TCP tunneling: SSH, IMAP, custom protocols — anything SOCKS5 carries
  • Multi-deployment load balancing: Round-robin + health-aware blacklist across multiple Apps Script deployments

Architecture Overview

Details

Repository
github.com/reason-machines/trending-skills
Categories
Security, Backend & APIs, CLI & Terminal
First seen
Jun 3, 2026

Questions

What does the gooserelayvpn-socks5-tunnel skill do?

This skill covers GooseRelayVPN, a SOCKS5 proxy that tunnels raw TCP traffic through a Google Apps Script web app to a self-hosted VPS exit server. Traffic is encrypted end to end with AES-256-GCM and uses domain fronting, so Google never holds the key.

How do I install the gooserelayvpn-socks5-tunnel skill?

Run npx -y skills add reason-machines/trending-skills --skill gooserelayvpn-socks5-tunnel -y in a project. This lets the agent guide you through setting up the client, server and Apps Script components of GooseRelayVPN.

What do I need to run GooseRelayVPN with this skill?

You need a VPS to host the goose-server, a Google account to deploy the Apps Script web app, and a shared 64-character hex AES key set in both configs. The client listens on a local SOCKS5 port, usually 127.0.0.1:1080.

Which category does this skill sit in on Claude Marketplaces?

It is listed under Security, alongside skills such as azure-compliance, security-audit and cloudflare-one. Its distinct focus is building and operating an encrypted SOCKS5 tunnel that carries raw TCP traffic.

More from reason-machines/trending-skills

All 251

Similar to Gooserelayvpn Socks5 Tunnel

More Security