Skip to content

Instantly share code, notes, and snippets.

@yv-code
yv-code / phantun_wireguard_openwrt_client.md
Created January 20, 2025 02:54 — forked from RillJ/phantun_wireguard_openwrt_client.md
Phantun + WireGuard Full-Tunnel VPN on OpenWrt Guide

Guide to Setting Up Phantun with WireGuard on OpenWrt

This guide provides a detailed walkthrough on establishing a high-performance, full-tunnel VPN across your network using Phantun and WireGuard on an OpenWrt-equipped router. This setup is particularly beneficial for environments where UDP traffic faces restrictions, yet a swift VPN solution is necessary for the entire network. Combining Phantun with WireGuard presents the fastest TCP tunneling solution available as of Q1 2024, as far as my knowledge extends. Given the scarcity of comprehensive resources on this topic, this guide aims to fill that gap and assist others in achieving a rapid, unrestricted network connection.

Table of Contents

@yv-code
yv-code / Linux 速查.md
Last active January 4, 2016 10:29
Linux 使用过程中的零碎记录

Linux 问题和命令速查

网络

网络相关操作和问题解决

proxychains

  • 使用自定义 DNS 服务器

    修改 /usr/lib/proxychains3/proxyresolv 文件或者增加 PROXYRESOLV_DNS 环境变量

@yv-code
yv-code / fonts.conf
Created September 21, 2015 16:02
XHei 字体渲染设置
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- created by WenQuanYi FcDesigner v0.5 -->
<match>
<test name="family"><string>sans-serif</string></test>
<edit name="family" mode="prepend" binding="strong">
<string>XHei Android</string>
</edit>
</match>
@yv-code
yv-code / 0_reuse_code.js
Last active August 29, 2015 14:25
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console