Skip to content

Instantly share code, notes, and snippets.

@Saiv46
Saiv46 / VPN.md
Last active October 10, 2025 21:16

VPN нужен любому человеку пользующимся интернетом в России. Другой вопрос - какой VPN всё ещё работает и как его достать? Благодаря людям и их ответам в VPN-треде, был составлен данный список.

Примечание: Возможно вам не требуется VPN для обхода блокировок, сначала посмотрите Дополнительные инструменты.

Легенда
⚠️ Ограниченный трафик
@KaraRyougi
KaraRyougi / full-subnet-proxy.md
Last active December 12, 2023 14:57
IPv6 完全随机化连接

使用整段 IPv6 以避免被墙的设置方案:

服务端

假设我们拥有 2602:feda:db8::/48 这段 IPv6 地址,且该段地址被静态路由至我们的服务器。

首先配置防火墙,详略。

将整段 IPv6 地址配置至服务器:

@crass
crass / RiseupVPN-NetworkManager.md
Last active August 5, 2025 15:14
Use RiseupVPN via NetworkManager

A short tutorial on using the RiseupVPN via NetworkManager's OpenVPN plugin.

I didn't want to run an extra binary.

First using a webbrowser download this CA certificate. This will allow us to securely communicate with various Riseup servers.

Next you'll want to download the user certificate and private key (all in one file). I use curl to do this because its easier. If you want to use your browser you'll need to add the Riseup CA cert to your browser's trusted root certs. curl -vL --cacert riseup-vpn.ca.crt -o riseup-vpn.pem https://api.black.riseup.net/3/cert

What's left is choosing an openvpn gateway. This command will show the available endpoints as a list of json objects. Some of the gateways have transport type "obfs4" which is a protocol for obsfucating vpn traffic. I ignore those endpoints because I don't think they are useable via the plain openvpn NetworkManager plugin (but I haven't verified that).

@bluewalk
bluewalk / GetNordVPNWireGuardDetails.md
Last active October 27, 2025 06:47
Getting NordVPN WireGuard details

About

Instructions to obtain WireGuard details of your NordVPN account. These can be used to setup a WireGuard tunnel on your router to NordVPN.

Source: https://forum.gl-inet.com/t/configure-wireguard-client-to-connect-to-nordvpn-servers/10422/27

Prerequisites

If you have any linux machine, use that or install a vm if you don't have one.

Get their official linux app installed. Make sure you have wireguard installed too. And set the used technology to Nordlynx by running nordvpn set technology nordlynx

How to disable AAAA lookups?

Problem description

The corporate DNS server that is outside of our control doesn't handle AAAA queries properly. When sent a AAAA query, the DNS server doesn't respond. A properly working DNS server returns NOERROR, ANSWER: 0, if there is no AAAA record for a given name. Misconfigured DNS server doesn't send any response.

In an IPv6-enabled environment, the client tries to resolve both A and AAAA addresses. If the DNS server doesn't send any reply, the client repeats the query and eventually times out. Only after the AAAA query times out, the client will use the A address. Waiting for the timeouts renders utilities like curl, kubectl, oc, ... and others unusable.

Identifying the AAAA lookup problem

@lilydjwg
lilydjwg / gh-check
Last active March 20, 2025 01:02
gh-check: speed test to known GitHub IPs
#!/usr/bin/python3
import asyncio
import time
import socket
import argparse
import aiohttp
class MyConnector(aiohttp.TCPConnector):
@tanpengsccd
tanpengsccd / speederClient.service
Last active April 16, 2023 09:32
udp2raw.service & speeder.service
[Unit]
Description=speeder service
After=syslog.target network.target auditd.service
[Service]
Type=notify
NotifyAccess=all
User=root
ExecStart=/usr/local/bin/speederv2_amd64 -c -l0.0.0.0:34000 -r47.74.239.218:34002 -f2:18 --timeout 0
ExecReload=/bin/kill -HUP
ExecStop=/bin/kill -s QUIT PrivateTmp=true
@vratiu
vratiu / .bash_aliases
Last active October 20, 2025 00:46
Git shell coloring
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset