Skip to content

Instantly share code, notes, and snippets.

@ihciah
ihciah / README.MD
Last active October 28, 2025 10:14
科学搭建国内VPN转发服务器(国内VPN中转)

科学搭建国内VPN转发服务器

简介

  • 简单拓扑结构:国内-(ocserv)-国内中转服务器-(shadowvpn)-国外服务器
  • 实验环境:用户终端为iPhone,中转服务器及国外服务器均为Ubuntu 14.04

搭建过程

  • 搭建Ocserv
    • 打开ftp://ftp.infradead.org/pub/ocserv/找到最新版本并下载、解压
    • 安装依赖:
@dongyuwei
dongyuwei / publisher
Created July 12, 2010 10:21
自动登录上线系统,python,cookie,浏览器模拟
#! /usr/bin/python
# -*- coding: utf-8 -*-
import urllib , httplib2
user="xxxx"
password = "xxxxxxx"
body = {'user':user,'password':password}
headers = {'Content-type': 'application/x-www-form-urlencoded'}